|
k guys ..leave it ..if u r interest ..always welcome ..otherwise no need...
k na Mr.rajkumar,cranky,and pallni
*****THANKS N ADVANCE****
Mathen.K
(I WILL TRY MY LEVEL BEST )
|
|
|
|
|
You are inviting comments like these. Your original post does not make any sense. Nobody knows what you want.
|
|
|
|
|
k ..Mr.cranky .thanks to your replays ..in feature i will be able to follow
*****THANKS N ADVANCE****
Mathen.K
(I WILL TRY MY LEVEL BEST )
|
|
|
|
|
I recommend buying a book on C++, and one on English. We are an international community, we are pretty forgiving, but your original post made no sense at all, you need to at least be able to communicate your intention if you want meaningful replies.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
But why you dont want to answer to questions on this forum,maybe your answers will be helpful for other members?
|
|
|
|
|
Please stop spamming the message boards with pointless posts.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
No, the doubt keyword was removed with the latest service pack. Thanks for playing, though.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
The lib //aubio.org/beta/win32/ did not include the def, how can I can generate the lib file in order to call it under vc?
if I get the some binary files and dll files in this lib,the binary file(exe )need to call the function in dll, so how can I make it happen?
and anyone can tell me how to use this lib under windows in order to get the runnng result?
|
|
|
|
|
You may use runtime linking [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
how ?
can you give some example?
|
|
|
|
|
Actually a sample is in the page linked by my previous post.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
wendyyue wrote: some binary files and dll files in this lib,the binary file(exe )need to call the function in dll
linking in binary space (binary dll and binary exe) is too technical for me. as far as i understand from the link, aubio.org, the sample exe and the dll already has references to functions, it is build using cygwin and windows binaries are produced using mingw. see this Aubio on Windows[^]
actually the import libraries are generated, u need to build the source.
#include <aubio/aubio.h>
#include <aubio/aubioext.h>
int main( int argc, char** argv )
{
aubio_sndfile_t *foo = new_aubio_sndfile_ro( argv[1] );
return 1;
}
g++ -laubio -laubioext -lsndfile foo.cxx -o a.out
should resolve all linking references.
from Re: linking problems[^]
it is clear from this, that exe is linked to libraries libaubio, libaubioext, libsndfile which resolves the references.
u may get more help from aubio mailing list it seems.
|
|
|
|
|
still can not get it.
can anyone teach me how to run this lib?
|
|
|
|
|
** BUMP **
I've been tring to get aubio to compile in Visual Studio 2005 myself. No GO.
I've been trying for 3 days. Any help on this matter would be great.
|
|
|
|
|
Hello everyone,
Confused why the following code can compile when we use :: to invoke non-static function. Especially, in the sample below, is it possible to call non-static member if T is not int? Why compiler allows the following code to compile?
(sorry that I have tried to use the code tag to format the code, but some template statement is not correct after using code tag, so I post the raw code here.)
template <class T>
struct FooTrait {
public:
int foo1();
};
template<>
struct FooTrait <int> {
static int foo1() {cout << "Hello Foo1" << endl; return 0;}
};
template <class T1, class T2=FooTrait<T1>>
struct Foo {
public:
int foo()
{
T2::foo1();
return 0;
}
};
int main()
{
Foo<int> f;
f.foo();
return 0;
}
thanks in advance,
George
modified on Saturday, February 23, 2008 5:09 AM
modified on Saturday, February 23, 2008 5:48 AM
|
|
|
|
|
Hey George, please reformat your code.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Hi CPallini,
I would like to format and I have tried for 10 minutes. But I can not make
template<>
struct FooTrait<int>
to disply when I use <code> tag.
Any advice?
regards,
George
|
|
|
|
|
template <typename T>
use the < > button to set the angle brackets
|
|
|
|
|
Still not working, Rajkumar.
What is your settings for the following choices?
Ignore HTML tags in this message (good for code snippets)
Auto-encode HTML when pasting?
regards,
George
|
|
|
|
|
i mean by < > button is, see the formatting panel when editting the message, u will find the buttons it adds < and > for < and > symbols respectively.
|
|
|
|
|
|
George_George wrote: Any advice?
Yes, use < to show < symbol inside <pre> tags.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
|
Hi CPallini,
I have fixed in the original post according to your comments.
regards,
George
|
|
|
|
|
George_George wrote: T2::foo1(); // possible to call non-static member if T is not int?
how do you determined it.
Foo<int> f;
f.foo();
return 0;
change to
Foo<char> f;
f.foo();
return 0;
and try.
|
|
|
|