Someone teaches me how to compile (c++)?


I want to learn to program in C + +, and for that I try to not only learn the language from a theoretical as well, in a practical way. I'm wandering through sourceforge.net seeking applications for windows, written in C + +, preferably games (more precisely chess), and since its source code is available. Even if the source of these below are available here, I can not handle them out to generate. exe. If possible please indicate other projects.
http://simontacchi.cvs.sourceforge.net/viewvc/simontacchi/?view=tar;
http://cinag.cvs.sourceforge.net/viewvc/cinag/?view=tar;
http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=as (this is the assault cube);
and PouetChess (its source code is easy to find here is the basic link:
http://sourceforge.net/projects/pouetchess/.
I have several IDEs for C + +, including Visual Studio C + + 2008.
Please teach me to handle SOURCE FILES and the HEADER FILES to generate the .exe
Thanks.


NOTE: I do not speak English, I used a translator online free. Below is the original in Portuguese (my language):

Algu
Learning to code is different to learning to compile source codes -though there could be similarities, and the learning curve for programming is much steeper

To learn programming, you'll need to learn the syntax and the basics of your language of choice i.e how to write your code, learn how to design your software and how to give it to public (which includes compiling/buiding/debugging/troubleshooting etc.)

To build a source code you'll need the right tools and learn how to use it, here are simplified steps to get started:
1. get the source
2. open/extract it and find a file in the folder that is named 'README' or 'ReadFirst.txt' etc.
3. read the file thoroughly -pay attention to the keywords 'compiler', 'to build this you'll need', 'libraries' etc.
3.1. start googling and downloading the libraries/tools
3.2. install and setup the tools (might need to review steps 2-3 once again lol)
3.3 start building -cross your fingers, pray to God etc.
4. if the readmes are not very detailed e.g it says:

You'll need Visual C++ 2008 compiler to build the GUI, and GCC 4.0.4 to build the libraries

then,
4.1 you might need to visit the distributor/author's webpage to find out more
4.2 find the related forums that discuss that particular software
4.3 google
Compiling other peoples source code won't help you learn the language. Rather, learning the language and starting to compile stuff starting from your small beginner applications will teach you how to compile.
Topic archived. No new replies allowed.