   advice need
  Hello. I'm learning C++ and I'm having some 'troubles'.Just bought Accellerated C++ book and going to start. I know some SDL (the hello world one lol) but I need you to answer my question.I saw how to create a window in Win32. This code was approximately 100 lines!!What should I do? Memorize the code, or just copy and paste it?If my question isn't clear I can answer it again.Thanks in Advance, Minas.   
  Don't memorize it. But don't copy and paste it either. Look up what you need to; through the process of doing it over and over you will eventually memorize those things you need to memorize, and know how to look up those things you don't. Actively trying to memorize boilerplate code isn't really helpful.If you're just starting out with C++, however, ignore the Windows stuff entirely. You need to focus on learning the language, not APIs like Win32. This means you should plan to spend extensive time in the console window writing text-based games and exercises from your book.This is the price of selecting a poor beginners language like C++; Python or C# are better such languages (better suited to beginners, that is). Although even with those languages you will still spend some up-front time in the console environment until you are comfortable. I would further only advise considering switching languages if you've spent less than a week or two learning C++ already -- the most important thing is to pick one and stick with it.   ;  I'm sure some very strange people learn it off by heart but you usually only have to write this once for every app you write, so usually you copy paste and look up any of the things you need to change in the c++ refernce manuals (help just hit F1)   ;Quote:Original post by jpetrieDon't memorize it. But don't copy and paste it either. Look up what you need to; through the process of doing it over and over you will eventually memorize those things you need to memorize, and know how to look up those things you don't. Actively trying to memorize boilerplate code isn't really helpful.If you're just starting out with C++, however, ignore the Windows stuff entirely. You need to focus on learning the language, not APIs like Win32. This means you should plan to spend extensive time in the console window writing text-based games and exercises from your book.This is the price of selecting a poor beginners language like C++; Python or C# are better such languages (better suited to beginners, that is). Although even with those languages you will still spend some up-front time in the console environment until you are comfortable. I would further only advise considering switching languages if you've spent less than a week or two learning C++ already -- the most important thing is to pick one and stick with it.Thanks for your reply!I've been learning C++ for some months.I had previous experience of BASIC in school and I decided to learn C++ because I want to work in the industry. I'm 17 and learning by myself.I think I should read that Accellerated C++ book and then.Thanks, again.   