Click here to Skip to main content
15,925,255 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Defines Pin
Mark Salsbery25-Feb-07 8:11
Mark Salsbery25-Feb-07 8:11 
QuestionMAP file in visual studio 2005 Pin
eli1502197925-Feb-07 5:16
eli1502197925-Feb-07 5:16 
AnswerRe: MAP file in visual studio 2005 Pin
Michael Dunn25-Feb-07 6:36
sitebuilderMichael Dunn25-Feb-07 6:36 
AnswerRe: MAP file in visual studio 2005 Pin
Mark Salsbery25-Feb-07 6:38
Mark Salsbery25-Feb-07 6:38 
QuestionI need BIG help! Pin
reyyy25-Feb-07 4:57
reyyy25-Feb-07 4:57 
AnswerRe: I need BIG help! Pin
Waldermort25-Feb-07 5:08
Waldermort25-Feb-07 5:08 
GeneralRe: I need BIG help! Pin
reyyy25-Feb-07 5:14
reyyy25-Feb-07 5:14 
AnswerRe: I need BIG help! Pin
bob1697225-Feb-07 7:40
bob1697225-Feb-07 7:40 
Personally, I still feel learning C++ should start with a quick intro to C since understanding Win32 comes much easier. Also, if you end up using CString, it's nice to have some background in printf (or it's many variations).

Don't spend too much time on C but getting a book like Schildt's "C++ The Complete Reference (Fourth Edition)" will help in the basics since he spends a good portion of the book on C, later C++, and he describes the differences and what is common to both. He avoids Windows programming so it avoids those distractions that cause the Attention Deficit that occurs when touching a page in MSDN or Wikipedia with all those shiny links ("What did I come here for again?")

For the first month or two, you should reserve yourself to command line programs (as painful as that sounds) so you focus on the language(s) and some basic libraries before jumping into the deep end of the pool. You should start with C programs without header files so it's not a major source of distraction for the first few days. Once C becomes boring, then you know your ready to learn OOP and C++.

The single most important thing to learn, is that C or C++ cannot let you use something like a function, variable, class, library, etc... if you haven't told the compiler about it. This is easier to conceptualize in a program written in a single .c or .cpp file since it's basically being parsed top down. As your programs become bigger, you will be forced to use function declarations. This is when the concept of using header files starts to make sense and becomes appreciated. This is also usually where you realize you are ready to start learning OOP and C++.

Resist the temptation to jump into GUI based programs for about another month or at least until you built some polymorphic classes. This is where you will likely start contemplating STL, GUI based programming, COM, etc...

Thats just my opinion, but I hope that helps you piece together a roadmap of where you are going.

Good Luck.

AnswerRe: I need BIG help! Pin
Hamid_RT25-Feb-07 8:22
Hamid_RT25-Feb-07 8:22 
AnswerRe: I need BIG help! Pin
Christian Graus25-Feb-07 9:02
protectorChristian Graus25-Feb-07 9:02 
Question[DirectDraw] Pin
Parallan25-Feb-07 3:05
Parallan25-Feb-07 3:05 
GeneralRe: [DirectDraw] Pin
Parallan25-Feb-07 7:15
Parallan25-Feb-07 7:15 
GeneralRe: [DirectDraw] Pin
Rajesh R Subramanian25-Feb-07 21:57
professionalRajesh R Subramanian25-Feb-07 21:57 
GeneralRe: [DirectDraw] [modified] Pin
Mark Salsbery26-Feb-07 7:56
Mark Salsbery26-Feb-07 7:56 
GeneralRe: [DirectDraw] Pin
Rajesh R Subramanian27-Feb-07 8:16
professionalRajesh R Subramanian27-Feb-07 8:16 
QuestionOnWindowPosChanging never called Pin
NorGUI25-Feb-07 3:03
NorGUI25-Feb-07 3:03 
AnswerRe: OnWindowPosChanging never called Pin
Mark Salsbery25-Feb-07 6:42
Mark Salsbery25-Feb-07 6:42 
QuestionConverting from VC6 to VS2005, C++ Pin
Anders Gustafsson25-Feb-07 2:53
Anders Gustafsson25-Feb-07 2:53 
AnswerRe: Converting from VC6 to VS2005, C++ Pin
Nemanja Trifunovic25-Feb-07 3:08
Nemanja Trifunovic25-Feb-07 3:08 
GeneralRe: Converting from VC6 to VS2005, C++ Pin
Anders Gustafsson25-Feb-07 3:46
Anders Gustafsson25-Feb-07 3:46 
AnswerRe: Converting from VC6 to VS2005, C++ Pin
Christian Graus25-Feb-07 9:10
protectorChristian Graus25-Feb-07 9:10 
Questionconversions of char [modified] Pin
cyn825-Feb-07 2:07
cyn825-Feb-07 2:07 
AnswerRe: conversions of char Pin
bob1697225-Feb-07 9:00
bob1697225-Feb-07 9:00 
Questionwhen i mouse down a button, why the button change style default button? Pin
mfc_dialog25-Feb-07 1:16
mfc_dialog25-Feb-07 1:16 
AnswerRe: when i mouse down a button, why the button change style default button? Pin
Michael Dunn25-Feb-07 6:40
sitebuilderMichael Dunn25-Feb-07 6:40 

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.