Learn how to code C++ || Day 1 - Compiler
Since i have seen many clueless members around this section i will be making a day by day tutorial teaching you C++. Starting with a compiler. I will try my best to do one tutorial per day but cannot promise anything due to RL requirements. I aim to be accurate, detailed and explain things to the best of my ability.
I will be happy to answer all questions, no matter how stupid they seem. If you do know C++ feel free to come and answer questions and such.
__________________________________________________ _______________
Lesson #1 - Choosing a compiler
For these tutorials i will be using a compiler called Code::Blocks. Although DevC++ is probably the most user friendly compiler it is now outdated and gives many frustrating errors even with correct code.
You can download Code::Blocks from here:
Code::Blocks Download #1
If that doesn't work then go here and select the bottom option called
codeblocks-8.02mingw-setup.exe - 28 Feb 2008 - 19.3 MB
Then follow this video to install Code::Blocks.
[YOUTUBE]<object width="980" height="765"><param name="movie" value="http://www.youtube.com/v/U8qOLFXixtE&hl=en_US&fs=1&rel=0&color1=0x006699&co lor2=0x54abd6&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/U8qOLFXixtE&hl=en_US&fs=1&rel=0&color1=0x006699&co lor2=0x54abd6&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="980" height="765"></embed></object>[/YOUTUBE]
Now you have Code::Blocks installed! To start a new project go to
File >> New >> Empty File or Ctrl + Shift + N
It should look like this:
[IMG]http://i755.photobucke*****m/albums/xx191/_-_-_JAMES_-_-_/CodeBlocks.jpg[/IMG]
Credits:
Romanzeyde - The youtube video
P0SEID0N - Everything else :]
Space Reserved For Future Information If Needed
Blehh :P VC++ FTW? XD I've never used any other IDE.
yea but it's about as user friendly as eating curry while you have diarrhea.
Code::Blocks is really good, up to date and fairly user friendly. I only made the move to VC++ a few weeks ago..
Learn something from downloading?
Absolutely not!
Haha thats what i was thinking. Try tutorial 2 for learning stuff.
Tutorial #1 is basic/ Getting ready
You never learn anything from #1 tutorial just the person introducing what their going to teach you.
Yea, anyone who needs help installing something probably shouldn't even attempt C++ but w/e
Code::Blocks ftw. I've used it ages ago. DevC++ sucks badly.
I don't mind dev C++ its just not my first choice.
lawl SMD codeblocks and Dev suck compared to the power of Microsoft Visual C++.
Just search youtube for a guy called TheBostonKid if you want reall tutorials.
@Poisedon ****** we already have a section DEDICATED to C++ we dont need this in the cf section
Poseidon could you provide another good compiler? Ive tried downloading codeblocks multiple times but it just won't download - the file does not download properly. Im on Vista, might have to do something with that.