starting to learn c++

hi,
i was and still interested into programming,so far i haven't done anything concerning that so i thought that c++ is a good start , i am 16 years old so is that gonna be a problem?
anyway i just got a tutorial and i am reading it so if someone can tell me what do i need to start programming and i mean by that : software , tools ,.....
and i want to know what kinds of things i can program using c++, because i have heard it is a powerful language am i right?
It's pretty powerful. I feel like C# has become more popular in the business world but in the education world C++ stays strong and is still commonly used in organizations today.

There are many different compilers you can use for your programs but I would highly suggest Microsoft Visual Studio 2012 which can be found here http://www.microsoft.com/en-us/download/details.aspx?id=34673

This is the only real software you need to compile and run your programs. You actually picked the right site to ask about this too as they provide a free PDF or "eBook" which is a great start for those interested in C++ programming.

This can be found here: http://www.cplusplus.com/files/tutorial.pdf

Good luck!
Last edited on
closed account (91vUpfjN)
Don't worry about age, you could be 65 and as long as you are interested in learning I would always strongly encourage it. So no age won't be a problem.

All you need to start programming is NOT Visual Studio. Please please stay away from closed source and proprietary... more to the point you don't need that. If you want an IDE fine, choose eclipse and install the C++ plugin. (It's cross platform and pretty easy on the learning curve)

Basically, you will need a test editor: notepad++, gedit, kedit are basic and highly useful to get started with. You will also need a compiler. If you're using linux (it's free, why not?) then I highly recommend the standard gcc compiler, for windows I think it's mingw.)

C++ is perhaps other than C the most powerful programming language in the world. There are no real limits and if there are, then you can extend it yourself. The best feature about C++ is its maturity, compatibility and extensible nature. Which frequently blows newcomers out of the water (i.e Java and Python) not because they're not great languages (they are) but they don't work out of the box on all systems like C++ tends to and they tend to be bigger and bulkier programs than if they were written in C++...and I mean that literally). Though they are somewhat easier to learn if you're struggling with the concept of classes for instance.

ps. that tutorial pdf is way outta date.
Why create more work for yourself?

You can either A: Download Visual Studio (the Microsoft complier to code the Microsoft language that is C++) and begin programming immediately or

B: Download Eclipse (Which is primarily used for java) and download
additional plugin(s) before you can start

or

C: Download notepad ++ (Primarily used for web designing) and then slowly realize you don't actually have a compiler to...compile your program. Then begin looking up tutorials on how to run your program through the command prompt instead of actually coding.

Also, Java is more portable and compatible than C++. Not saying it's better, but that part was wrong.

The PDF is old but it will provide him with all the information he needs to get started. New eBooks cost money. I'm at least trying to help him begin coding. If he doesn't like the PDF, there are also plenty of tutorials on youtube for beginners.
closed account (iAk3T05o)
Age doesn't matter but when you start early, you can make more things before you . . .
Download visual studio (2010 and above) or code::blocks.
DO NOT spend any more time trying to figure out how to link notepad with gcc and mingw except you plan on making your own visual studio in the future. DO NOT stay away from closed source or proprietary software. A lot of stuff is closed source, windows, cryengine, unreal, *games that you play, *qt etc.
closed account (91vUpfjN)
Link note pad with gcc? Why?

simply... terminal:
$gcc filename.cpp -o filename.o
$filename.o

or something along those very similar lines. >.>;;

also... sudo apt-get eclipse-cpp as it installs everything for you. Seriously, you windows peeps are missing out.
This has got to be one of the dumbest arguments I've seen on here so far.

He is a BEGINNER. He is going to be writing code for things such as "Hello World" and "Random Number Generator" or whatever. Time will only tell if he actually sticks with programming...

Download Microsoft Visual C++ Express. Google it.

Why? It's free and you'll be able to start writing/compiling code immediately after it's installed. It's also widely used and supported and you can buy entire books on just writing C++ for THAT specific compiler.

You can consider the other options after you know a little bit more about what you're doing and if you decide to stick with programming in C++.
Last edited on
Topic archived. No new replies allowed.