Click here to Skip to main content
15,926,144 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalcan't compile my codes...pls help Pin
Member 208234129-Jun-05 2:11
Member 208234129-Jun-05 2:11 
GeneralRe: can't compile my codes...pls help Pin
Cillieacc0rd5o429-Jun-05 2:14
Cillieacc0rd5o429-Jun-05 2:14 
GeneralRe: can't compile my codes...pls help Pin
Ravi Bhavnani29-Jun-05 2:24
professionalRavi Bhavnani29-Jun-05 2:24 
GeneralRe: can't compile my codes...pls help Pin
ThatsAlok29-Jun-05 2:26
ThatsAlok29-Jun-05 2:26 
GeneralRe: can't compile my codes...pls help Pin
ThatsAlok29-Jun-05 2:25
ThatsAlok29-Jun-05 2:25 
GeneralRe: can't compile my codes...pls help Pin
krmed29-Jun-05 3:03
krmed29-Jun-05 3:03 
GeneralRe: can't compile my codes...pls help Pin
Member 208234129-Jun-05 11:10
Member 208234129-Jun-05 11:10 
GeneralRe: can't compile my codes...pls help Pin
krmed30-Jun-05 0:52
krmed30-Jun-05 0:52 
Not necessarily. It is your choice, but you may run into other problems by converting it to .cpp.

If you're using mfc, you'll need to add the stdafx.h header, a wrapper to prevent multiple inclusions would be a good idea, etc.

Unless there's a compelling reason to change it to .cpp, then I'd just leave it like it is.

The software I work on (a suite of 38 applications and 18 dlls) has one module that is shared with a unix-based hardware component, and that has to be in c, so we just have the one module in c.

Glad I could be of help.


Karl - WK5M
PP-ASEL-IA (N43CS)
<kmedcalf@ev1.net>
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
GeneralRe: can't compile my codes...pls help Pin
toxcct29-Jun-05 5:37
toxcct29-Jun-05 5:37 
GeneralC++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 2:06
Cillieacc0rd5o429-Jun-05 2:06 
GeneralRe: C++ Loop statment Or LoopFor Pin
Ravi Bhavnani29-Jun-05 2:27
professionalRavi Bhavnani29-Jun-05 2:27 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 2:32
Cillieacc0rd5o429-Jun-05 2:32 
GeneralRe: C++ Loop statment Or LoopFor Pin
Ravi Bhavnani29-Jun-05 2:41
professionalRavi Bhavnani29-Jun-05 2:41 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 2:42
Cillieacc0rd5o429-Jun-05 2:42 
GeneralRe: C++ Loop statment Or LoopFor Pin
Maximilien29-Jun-05 2:45
Maximilien29-Jun-05 2:45 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 2:58
Cillieacc0rd5o429-Jun-05 2:58 
GeneralRe: C++ Loop statment Or LoopFor Pin
Maximilien29-Jun-05 3:08
Maximilien29-Jun-05 3:08 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 3:14
Cillieacc0rd5o429-Jun-05 3:14 
GeneralRe: C++ Loop statment Or LoopFor Pin
toxcct29-Jun-05 5:32
toxcct29-Jun-05 5:32 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 19:32
Cillieacc0rd5o429-Jun-05 19:32 
GeneralRe: C++ Loop statment Or LoopFor Pin
Ravi Bhavnani29-Jun-05 4:45
professionalRavi Bhavnani29-Jun-05 4:45 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 19:35
Cillieacc0rd5o429-Jun-05 19:35 
GeneralRe: C++ Loop statment Or LoopFor Pin
Maximilien29-Jun-05 2:43
Maximilien29-Jun-05 2:43 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 3:09
Cillieacc0rd5o429-Jun-05 3:09 
GeneralRe: C++ Loop statment Or LoopFor Pin
toxcct29-Jun-05 5:35
toxcct29-Jun-05 5:35 

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.