Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCoInitializeEx & SOAP Pin
Victor19782-Feb-04 22:06
Victor19782-Feb-04 22:06 
Generalflock question Pin
alex.barylski2-Feb-04 22:04
alex.barylski2-Feb-04 22:04 
QuestionAbout the WAV to WMA of audio ? Pin
zhaopzhi2-Feb-04 21:42
zhaopzhi2-Feb-04 21:42 
GeneralAutocomplete Pin
Mike Mehan2-Feb-04 21:32
sussMike Mehan2-Feb-04 21:32 
Generalanimated buttons Pin
amit sebiz2-Feb-04 20:25
amit sebiz2-Feb-04 20:25 
GeneralRe: animated buttons Pin
sps-itsec462-Feb-04 22:04
sps-itsec462-Feb-04 22:04 
GeneralDoubt ! Creating Service! Pin
Ilamparithi2-Feb-04 19:48
Ilamparithi2-Feb-04 19:48 
QuestionLinking object file ? Pin
CarteBlanche2-Feb-04 19:11
CarteBlanche2-Feb-04 19:11 
The book I'm reading has me create three files:
rectangle.h
- header file with #ifndef RECTANGLE_H #define RECTANGLE_H and ends with #endif .. I'm not sure what these do exactly, but it says to put them in there.

rectangle.cpp
- This one contains the member functions of the class I define in the header file, but there is no main function in it. When I try to compile it I get..
"LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main"

For the third file it tells me to link the project with the object file that's created from the rectangle.cpp file, but that file wont compile.

I'm using Visual C++ 6.0 and to make the rectangle.cpp I went to New/C++ source file.

Please help Confused | :confused:
AnswerRe: Linking object file ? Pin
CarteBlanche2-Feb-04 19:26
CarteBlanche2-Feb-04 19:26 
Questionconvert double to Integer????????? Pin
wow99992-Feb-04 18:56
wow99992-Feb-04 18:56 
AnswerRe: convert double to Integer????????? Pin
alex.barylski2-Feb-04 21:57
alex.barylski2-Feb-04 21:57 
AnswerRe: convert double to Integer????????? Pin
jhwurmbach2-Feb-04 23:03
jhwurmbach2-Feb-04 23:03 
Questionhow can i find sqlcli1.h? Pin
google732-Feb-04 18:05
google732-Feb-04 18:05 
AnswerRe: how can i find sqlcli1.h? Pin
Roger Wright2-Feb-04 18:22
professionalRoger Wright2-Feb-04 18:22 
GeneralRe: how can i find sqlcli1.h? Pin
google732-Feb-04 18:47
google732-Feb-04 18:47 
QuestionProgram not responding? Pin
Xzyx987X2-Feb-04 17:46
Xzyx987X2-Feb-04 17:46 
Generalansi/iso C++ compiler Pin
Anonymous2-Feb-04 17:33
Anonymous2-Feb-04 17:33 
GeneralRe: ansi/iso C++ compiler Pin
valikac2-Feb-04 17:35
valikac2-Feb-04 17:35 
GeneralRe: ansi/iso C++ compiler Pin
Joe Woodbury2-Feb-04 18:23
professionalJoe Woodbury2-Feb-04 18:23 
GeneralRe: ansi/iso C++ compiler Pin
jhwurmbach2-Feb-04 23:08
jhwurmbach2-Feb-04 23:08 
GeneralRe: ansi/iso C++ compiler Pin
Nemanja Trifunovic3-Feb-04 5:18
Nemanja Trifunovic3-Feb-04 5:18 
Generalcompilie error: error C2955: 'modulus' : use of class template requires template argument list Pin
Sheetal S P2-Feb-04 17:21
sussSheetal S P2-Feb-04 17:21 
GeneralRe: compilie error: error C2955: 'modulus' : use of class template requires template argument list Pin
jan larsen3-Feb-04 1:45
jan larsen3-Feb-04 1:45 
GeneralCRectTracker+CScrollView="going crazy!!!" Pin
Gavriloaie Andrei2-Feb-04 16:34
Gavriloaie Andrei2-Feb-04 16:34 
Generaltypedef vector<vector<vector<double> > > vMatrix; Pin
closecall2-Feb-04 15:52
closecall2-Feb-04 15:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.