Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ Rookie. PinPopular
Aescleal30-Sep-10 21:38
Aescleal30-Sep-10 21:38 
AnswerRe: C++ Rookie. Pin
Moak30-Sep-10 22:34
Moak30-Sep-10 22:34 
AnswerRe: C++ Rookie. Pin
David Crow1-Oct-10 3:26
David Crow1-Oct-10 3:26 
AnswerRe: C++ Rookie. Pin
forexsurfr1-Oct-10 6:17
forexsurfr1-Oct-10 6:17 
AnswerRe: C++ Rookie. Pin
bob169721-Oct-10 6:42
bob169721-Oct-10 6:42 
AnswerRe: C++ Rookie. Pin
vbmike1-Oct-10 8:24
vbmike1-Oct-10 8:24 
AnswerRe: C++ Rookie. PinPopular
Tim Craig1-Oct-10 18:40
Tim Craig1-Oct-10 18:40 
GeneralRe: C++ Rookie. Pin
Stefan_Lang3-Oct-10 23:14
Stefan_Lang3-Oct-10 23:14 
Seconded.

Many of the MS examples involve using the windows library, or worse, MFC. And these are still full of bad code, such as global #defines that mess up your code with no identifyable error message, and conflicting type definitions ('Handle' anyone?). In the end half the problems you'll encounter will be caused by MS stuff and not by your lack of understanding C++!

Best way to start learning is avoid windows programming and instead do a few command line applications.

Personally I never really used a book to learn C++, mostly because at the time I started there weren't any Wink | ;) (more to the point, the language was still in development and I was using a precompiler that converted C++ code into C before starting the actual compiler).

If I were to recommend a book to buy, it would be "The C++ Programming Language" by Bjarne Stroustrup. Considering that it is not exactly named to be a learning book, it does contain very good explanations of the mechanisms, lots of examples, and at the end of each chapter there is a list of exercises that you can do. The nice thing about the book is that after almost 30 years of C++ programming I can still find useful advice or examples inside whenever I dig into some of the less familiar constructs (e. g. virtual inheritance or template specialization).
GeneralRe: C++ Rookie. Pin
Tim Craig4-Oct-10 14:41
Tim Craig4-Oct-10 14:41 
QuestionWide char string to tolower Pin
T.RATHA KRISHNAN30-Sep-10 18:43
T.RATHA KRISHNAN30-Sep-10 18:43 
AnswerRe: Wide char string to tolower Pin
«_Superman_»30-Sep-10 19:15
professional«_Superman_»30-Sep-10 19:15 
GeneralRe: Wide char string to tolower Pin
T.RATHA KRISHNAN30-Sep-10 19:20
T.RATHA KRISHNAN30-Sep-10 19:20 
AnswerRe: Wide char string to tolower Pin
Aescleal30-Sep-10 21:30
Aescleal30-Sep-10 21:30 
GeneralRe: Wide char string to tolower Pin
Sauro Viti1-Oct-10 3:05
professionalSauro Viti1-Oct-10 3:05 
AnswerRe: Wide char string to tolower Pin
Richard MacCutchan30-Sep-10 22:26
mveRichard MacCutchan30-Sep-10 22:26 
AnswerRe: Wide char string to tolower Pin
Sameerkumar Namdeo3-Oct-10 18:06
Sameerkumar Namdeo3-Oct-10 18:06 
QuestionSoftware crashs under Windows 7, new UI Pin
Moak30-Sep-10 11:27
Moak30-Sep-10 11:27 
AnswerRe: Software crashs under Windows 7, new UI Pin
CPallini30-Sep-10 22:06
mveCPallini30-Sep-10 22:06 
GeneralRe: Software crashs under Windows 7, new UI Pin
Moak30-Sep-10 22:44
Moak30-Sep-10 22:44 
QuestionCreateWindow / CreateWindowEx Pin
Fareed Rizkalla30-Sep-10 10:20
Fareed Rizkalla30-Sep-10 10:20 
AnswerRe: CreateWindow / CreateWindowEx Pin
«_Superman_»30-Sep-10 19:10
professional«_Superman_»30-Sep-10 19:10 
AnswerRe: CreateWindow / CreateWindowEx Pin
prasad_som1-Oct-10 0:23
prasad_som1-Oct-10 0:23 
Questionmaking a win32 dll project (visual studio) on a 64 bit machine Pin
ns30-Sep-10 10:05
ns30-Sep-10 10:05 
AnswerRe: making a win32 dll project (visual studio) on a 64 bit machine Pin
Fareed Rizkalla30-Sep-10 10:16
Fareed Rizkalla30-Sep-10 10:16 
GeneralRe: making a win32 dll project (visual studio) on a 64 bit machine Pin
ns30-Sep-10 10:21
ns30-Sep-10 10: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.