... From: "Mun Kit" <munkit_ho@...> To: <c-prog@yahoogroups.com> Sent: Tuesday, February 01, 2005 5:26 AM Subject: [c-prog] How to play a sound from MFC...
Will Pearson
will-pearson@...
Feb 1, 2005 9:31 am
42463
How to solve this problem? Code Crawler - Given 2 C files, Walk thru both files and produce a report of similarities such as same variable name and same...
... #include<functional> // you need to tell the compiler where unary_function<> is ... btw, posting the EXACT code helps... in what you posted: line 8 doesn't...
Hi All I removed blank lines in my code but forgot to re-compile n give the correct lines. Victor, I am able to compile and run it successfully on g++. I did...
Jaspreet Oberoi
jaspreet.oberoi@...
Feb 1, 2005 12:01 pm
42466
Hi, Have you try what Victor said ? it seems a good reason ( functional missing ) Here my error : Error 419: "template.cpp", line 5 # 'unary_function' is used...
David Fleury
david.fleury-prestata...
Feb 1, 2005 1:37 pm
42467
... I don't care what g++ does... the STANDARD says unary_function is in <functional> if you learn nothing else from this, learn that just because ONE compiler...
Grmpf, the third cross-post without need for the same question... What's the problem? Algorithm? How to code particular details? Where to begin? How this might...
Hi all, Once again, I need your help. It concerns a MFC project I'm working on... I want to declare a global variable (every .cpp source file will use it) but...
Raphaël
repplst@...
Feb 1, 2005 4:03 pm
42470
Reply appended... ... How and where did you declare it? It should be declared as extern in your .h file and define in one .cpp file. Shyan...
I had forgotten the "extern" for the definition of the variable but now I'm getting a "external symbol non resolved" (or something like that, I have the French...
Raphaël
repplst@...
Feb 1, 2005 8:36 pm
42472
Hi Friends.. can any one give the code for sorting the strings that are given by the user..... for example the strings are , Bus Apple Arun Abstract Zero are...
Hi, may be it can help you [/code] #include <iostream> #include <vector> #include <algorithm> #include <iterator> using namespace std; int main() { vector<...
David
dfleury2@...
Feb 1, 2005 10:48 pm
42474
Man i need alot of learning in C++ I dont understand most of the things you just wrote hehe ... __________________________________ Do you Yahoo!? The all-new...
Hi Victor I never meant to say that my code is perfect just because it compiles in one compiler. That was the reason for posting it on the group so that it ...
Jaspreet Oberoi
jaspreet.oberoi@...
Feb 2, 2005 4:11 am
42476
... I recommend the standard texts at: http://planetearthworm.com/cppbooks.php ... Victor A. Wagner Jr. http://rudbek.com The five most dangerous words...
Hi Raphael, that's easy to explain. In a header file you give some info to the compiler. In your case you tell the compiler that there is a variable called...
Hi Jerome, just look at post #42476 in this group, it's the one prior to your question; there's a link to Victor's list of favourites, and according to...
Hi; I'd agree with the suggestion of Victor's list, as there's some very good titles on there. I'd also add "Thinking in C++, 2nd ed" by Bruce Eckel. This is...
Will Pearson
will-pearson@...
Feb 2, 2005 10:08 am
42481
Reply embedded... ... When other source file that include "general.h" is compiled, the 'extern' tells the compiler that the variable 'sRacineMorceaux' is...
OK OK... Thanks to you, Shyan & Nico for your explanations. I didn't know that I had to declare it also in general.cpp file before using it ! thx Raphaël...
Raphaël
repplst@...
Feb 2, 2005 4:47 pm
42483
... http://planetearthworm.com/cppbooks.php I recommend the "standard" books, I have no opinions of the pocket references ... Victor A. Wagner Jr....
hi,, i am doing my PG in computer applications i have to do a project in this semester i have time of 3 months to do it. i have working exp. of java and vb6 ...
I am doing work with io over a connection(a server) I am having trouble connecting. I have the following code: #include <iostream> #include <stdlib.h> #include...
kevin
sisco83@...
Feb 2, 2005 8:54 pm
42488
urr.... I don't see any code that initializes A. It would help if you put the internet address and port of your server into your sockaddr_in structure. ...
From: kevin [mailto:sisco83@...] ... I think <http://tangentsoft.net/wskfaq/> would be a useful resource for you - read it through a couple of times....
Hi,
I am obtaining an unexpected result using c++ inheritance overrating a method: here follows an example that better explain my problem:
class Base{...