Click here to Skip to main content
15,909,332 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: XML Parsing on the fly Pin
topus12-Jan-06 1:41
topus12-Jan-06 1:41 
GeneralRe: XML Parsing on the fly Pin
kakan12-Jan-06 3:22
professionalkakan12-Jan-06 3:22 
AnswerRe: XML Parsing on the fly Pin
Prakash Nadar11-Jan-06 23:36
Prakash Nadar11-Jan-06 23:36 
GeneralRe: XML Parsing on the fly Pin
kakan11-Jan-06 23:38
professionalkakan11-Jan-06 23:38 
GeneralRe: XML Parsing on the fly Pin
Prakash Nadar11-Jan-06 23:39
Prakash Nadar11-Jan-06 23:39 
QuestionIs Visual C++ 2005 a lot better than VC++ 2003 ? Pin
Defenestration11-Jan-06 22:08
Defenestration11-Jan-06 22:08 
AnswerRe: Is Visual C++ 2005 a lot better than VC++ 2003 ? Pin
rahulmballal11-Jan-06 22:30
rahulmballal11-Jan-06 22:30 
AnswerRe: Is Visual C++ 2005 a lot better than VC++ 2003 ? Pin
Rage11-Jan-06 22:33
professionalRage11-Jan-06 22:33 
AnswerRe: Is Visual C++ 2005 a lot better than VC++ 2003 ? Pin
topus11-Jan-06 22:37
topus11-Jan-06 22:37 
GeneralRe: Is Visual C++ 2005 a lot better than VC++ 2003 ? Pin
Rajesh R Subramanian11-Jan-06 22:44
professionalRajesh R Subramanian11-Jan-06 22:44 
GeneralRe: Is Visual C++ 2005 a lot better than VC++ 2003 ? Pin
toxcct11-Jan-06 22:44
toxcct11-Jan-06 22:44 
GeneralRe: Is Visual C++ 2005 a lot better than VC++ 2003 ? Pin
Cedric Moonen11-Jan-06 22:56
Cedric Moonen11-Jan-06 22:56 
AnswerRe: Is Visual C++ 2005 a lot better than VC++ 2003 ? Pin
Rob Caldecott11-Jan-06 23:06
Rob Caldecott11-Jan-06 23:06 
QuestionQuick Question on STL vector iterator Pin
Sebastian Schneider11-Jan-06 22:00
Sebastian Schneider11-Jan-06 22:00 
AnswerRe: Quick Question on STL vector iterator Pin
Cedric Moonen11-Jan-06 22:15
Cedric Moonen11-Jan-06 22:15 
GeneralRe: Quick Question on STL vector iterator Pin
toxcct11-Jan-06 22:27
toxcct11-Jan-06 22:27 
GeneralRe: Quick Question on STL vector iterator Pin
Sebastian Schneider11-Jan-06 22:38
Sebastian Schneider11-Jan-06 22:38 
AnswerRe: Quick Question on STL vector iterator Pin
Stephen Hewitt11-Jan-06 22:55
Stephen Hewitt11-Jan-06 22:55 
QuestionUnexpected end of file while looking for precompiled header directive Pin
Sarvan AL11-Jan-06 21:54
Sarvan AL11-Jan-06 21:54 
AnswerRe: Unexpected end of file while looking for precompiled header directive Pin
Sebastian Schneider11-Jan-06 22:02
Sebastian Schneider11-Jan-06 22:02 
AnswerRe: Unexpected end of file while looking for precompiled header directive Pin
PJ Arends11-Jan-06 22:07
professionalPJ Arends11-Jan-06 22:07 
Sarvan AL wrote:
I am getting the error "fatal error: unexpected end of file while looking for precompiled header directive". But If I add "#include "stdafx.h" in Person.cpp, I get another error "CPerson: class type redefinition"


To solve the first error you have to #include "stdafx.h". To solve the second error place a #pragma once at the top of every one of your .h header files. What is happening now is that the compiler is including person.h multiple times so it is finding multiple definitions of class CPerson.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: Unexpected end of file while looking for precompiled header directive Pin
<color>Aljechin 11-Jan-06 22:51
<color>Aljechin 11-Jan-06 22:51 
GeneralRe: Global Variable in all the files Pin
Sarvan AL12-Jan-06 0:29
Sarvan AL12-Jan-06 0:29 
GeneralRe: Global Variable in all the files Pin
<color>Aljechin 12-Jan-06 0:49
<color>Aljechin 12-Jan-06 0:49 
GeneralRe: Global Variable in all the files Pin
<color>Aljechin 12-Jan-06 0:55
<color>Aljechin 12-Jan-06 0:55 

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.