Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Scatter chart in GMS strip chart Pin
Parthiban29-Jun-10 22:42
Parthiban29-Jun-10 22:42 
GeneralRe: Scatter chart in GMS strip chart Pin
Cedric Moonen29-Jun-10 23:00
Cedric Moonen29-Jun-10 23:00 
GeneralRe: Scatter chart in GMS strip chart Pin
Parthiban29-Jun-10 23:46
Parthiban29-Jun-10 23:46 
GeneralRe: Scatter chart in GMS strip chart Pin
Cedric Moonen29-Jun-10 23:50
Cedric Moonen29-Jun-10 23:50 
GeneralRe: Scatter chart in GMS strip chart Pin
Parthiban30-Jun-10 0:05
Parthiban30-Jun-10 0:05 
QuestionMinGW - C++ code compiles only in example file but not my file! Pin
Trevor Johansen29-Jun-10 19:30
Trevor Johansen29-Jun-10 19:30 
AnswerRe: MinGW - C++ code compiles only in example file but not my file! Pin
Niklas L29-Jun-10 20:35
Niklas L29-Jun-10 20:35 
AnswerRe: MinGW - C++ code compiles only in example file but not my file! Pin
Emilio Garavaglia29-Jun-10 22:07
Emilio Garavaglia29-Jun-10 22:07 
These situation are typical when a file is included after something else, that -in a same translation unit- doesn't close properly some scope.

The compiler is actually treating your declarations as if they are part of some other precedent not closed declaration (and thus messing everything around).

Try the following:
- Find the C++ file that includes your snippet (either directly or via #include)
- Look if there is some #include BEFORE the inclusion of this snippet.
- Look in that file:
- if {}[]() and <> are properly paired
- if after the '}' that closes a declaration there is the ';' (otherwise what follow is treated as declaration of a variable ...)

In some worst cases the error may be even two more #include back.

2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:


AnswerRe: MinGW - C++ code compiles only in example file but not my file! Pin
Aescleal29-Jun-10 22:09
Aescleal29-Jun-10 22:09 
QuestionUI Question Pin
Orion Star29-Jun-10 10:44
Orion Star29-Jun-10 10:44 
QuestionRe: UI Question Pin
David Crow29-Jun-10 11:05
David Crow29-Jun-10 11:05 
AnswerRe: UI Question Pin
Richard Andrew x6429-Jun-10 12:00
professionalRichard Andrew x6429-Jun-10 12:00 
Questionmaster file table Pin
mdocvc29-Jun-10 10:13
mdocvc29-Jun-10 10:13 
AnswerRe: master file table Pin
«_Superman_»29-Jun-10 15:11
professional«_Superman_»29-Jun-10 15:11 
GeneralRe: master file table Pin
mdocvc30-Jun-10 6:52
mdocvc30-Jun-10 6:52 
AnswerRe: master file table Pin
Member 419459329-Jun-10 16:08
Member 419459329-Jun-10 16:08 
QuestionPass Message to Window Procedure Pin
Fareed Rizkalla29-Jun-10 7:26
Fareed Rizkalla29-Jun-10 7:26 
AnswerRe: Pass Message to Window Procedure Pin
Rajesh R Subramanian29-Jun-10 7:30
professionalRajesh R Subramanian29-Jun-10 7:30 
AnswerRe: Pass Message to Window Procedure Pin
«_Superman_»29-Jun-10 15:16
professional«_Superman_»29-Jun-10 15:16 
Questionwhy segmentation fault ! Pin
wbgxx29-Jun-10 7:07
wbgxx29-Jun-10 7:07 
AnswerRe: why segmentation fault ! Pin
Aescleal29-Jun-10 7:31
Aescleal29-Jun-10 7:31 
GeneralRe: why segmentation fault ! Pin
wbgxx29-Jun-10 7:38
wbgxx29-Jun-10 7:38 
GeneralRe: why segmentation fault ! Pin
Aescleal29-Jun-10 8:02
Aescleal29-Jun-10 8:02 
GeneralRe: why segmentation fault ! Pin
David Crow29-Jun-10 9:10
David Crow29-Jun-10 9:10 
GeneralRe: why segmentation fault ! Pin
Aescleal29-Jun-10 9:21
Aescleal29-Jun-10 9:21 

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.