Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DialogBar to View communication question Pin
RobJones23-Jul-03 8:23
RobJones23-Jul-03 8:23 
GeneralNope. (Re: DialogBar to View communication question) Pin
hiseldl23-Jul-03 8:36
hiseldl23-Jul-03 8:36 
QuestionHow to get rid of ugly repainting process when resizing main window? Pin
s_k23-Jul-03 7:28
s_k23-Jul-03 7:28 
AnswerRe: How to get rid of ugly repainting process when resizing main window? Pin
cmk23-Jul-03 8:07
cmk23-Jul-03 8:07 
AnswerRe: How to get rid of ugly repainting process when resizing main window? Pin
Tim Smith23-Jul-03 8:53
Tim Smith23-Jul-03 8:53 
AnswerRe: How to get rid of ugly repainting process when resizing main window? Pin
Michael Dunn23-Jul-03 10:48
sitebuilderMichael Dunn23-Jul-03 10:48 
QuestionC or C++? Pin
User 665823-Jul-03 7:23
User 665823-Jul-03 7:23 
AnswerRe: C or C++? Pin
Rein Hillmann23-Jul-03 7:42
Rein Hillmann23-Jul-03 7:42 
That's a tough question to answer in a short amount of space.

Here goes:
The main difference between C and C++ is that C++ has support for classes whereas C only supports structs. Because of this, a vast number of libraries/extensions are not available for use in C. This includes STL and MFC amongst others.

strlen, strcpy, strcat, fread, fwrite and char were all available in C. Obviously, the standard namespace was not. There are some language differences too, depending on the compiler, you can only declare variables in C at the beginning of you function. You can probably search Google for a complete list of syntactic differences.

Most of the Windows API should work in C as far as I know.

Personally, I prefer C - mainly for its purity, although I have been known to be a bit strange.

AnswerRe: C or C++? Pin
apferreira23-Jul-03 7:44
apferreira23-Jul-03 7:44 
AnswerRe: C or C++? Pin
David Crow23-Jul-03 9:34
David Crow23-Jul-03 9:34 
GeneralRe: C or C++? Pin
User 665823-Jul-03 12:12
User 665823-Jul-03 12:12 
GeneralRe: C or C++? Pin
Bob Stanneveld23-Jul-03 12:56
Bob Stanneveld23-Jul-03 12:56 
QuestionHow can I use a VB library, in VC++ Pin
mr200323-Jul-03 6:45
mr200323-Jul-03 6:45 
AnswerRe: How can I use a VB library, in VC++ Pin
AlexO23-Jul-03 6:47
AlexO23-Jul-03 6:47 
GeneralRe: How can I use a VB library, in VC++ Pin
mr200323-Jul-03 7:40
mr200323-Jul-03 7:40 
GeneralRe: How can I use a VB library, in VC++ Pin
mr200323-Jul-03 8:23
mr200323-Jul-03 8:23 
GeneralRe: How can I use a VB library, in VC++ Pin
AlexO23-Jul-03 8:30
AlexO23-Jul-03 8:30 
GeneralRe: How can I use a VB library, in VC++ Pin
AlexO23-Jul-03 8:38
AlexO23-Jul-03 8:38 
GeneralRe: How can I use a VB library, in VC++ Pin
mr200323-Jul-03 9:19
mr200323-Jul-03 9:19 
GeneralRe: How can I use a VB library, in VC++ Pin
AlexO23-Jul-03 9:48
AlexO23-Jul-03 9:48 
GeneralIWebBrowser2 from IE HWND Pin
Paul M Watt23-Jul-03 6:40
mentorPaul M Watt23-Jul-03 6:40 
Generalsetup maker Pin
JensB23-Jul-03 6:39
JensB23-Jul-03 6:39 
GeneralRe: setup maker Pin
AlexO23-Jul-03 6:46
AlexO23-Jul-03 6:46 
GeneralRe: setup maker Pin
JensB23-Jul-03 6:51
JensB23-Jul-03 6:51 
GeneralRe: setup maker Pin
John M. Drescher23-Jul-03 7:11
John M. Drescher23-Jul-03 7:11 

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.