Click here to Skip to main content
16,005,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Greg S. wrote:
What is "C" exactly, and what's the difference to "C++"?

In addition to the others, here are some useful links:

http://www.research.att.com/~bs/bs_faq.html

http://www.research.att.com/~bs/bs_faq2.html

Greg S. wrote:
If I use functions like strlen, strcpy, strcat, fopen, fread, fwrite and use chars instead of std::string, do I program in "C" or "C++"?

You've not provided enough info for a sufficient answer. A C program can only use C code, but a C++ program can use both C++ and C. Consider the following .CPP file:

#include < iostream >
#include < stdio.h >

void main( void )
{
    printf("Hello World\n");
}

Is it C or C++? Some folks would call it a C++ program because of the file's extension. Others would say not since it uses no C++ constructs. What if printf("Hello World\n"); were changed to std::cout << "Hello World\n";? Does that make a difference?

In some instances, I think it can be a difficult question to answer.
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 
GeneralRe: setup maker Pin
AlexO23-Jul-03 8:42
AlexO23-Jul-03 8:42 
GeneralRe: setup maker Pin
John M. Drescher23-Jul-03 8:46
John M. Drescher23-Jul-03 8:46 

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.