I'd like to learn c++, where do I start?

Noctosphere

Nova's Guardian
OP
Member
Joined
Dec 30, 2013
Messages
6,721
Trophies
3
Age
30
Location
Biblically accurate Hell
XP
18,136
Country
Canada
Hello
So recently, I gave up school in video game programming because the class was way too fast for me.
But I still want to learn programming, especially c++
I perfectly know that I won't be able to make my dream game right there, but I'm still ready to learn

So, what do you recommand me?
a book? a website?
I found that french site (openclassrooms.com) they were teaching c++ in a way that was much easier for me.
You see, they didnt say like "Do this code to obtain this result"
It was more like "This word do this, if you add this word, it will do this" you see? they were teaching word by word instead of sentence by sentence, like I saw on few site

I really liked that way of teaching, but apparently, it's an outdated version of C++
And sadly, they dont seem to hurry to update it...

So, how did you learn c++ by yourself?
a book? a site?
please tell me

thanks in advance
 
  • Like
Reactions: DRAGONBALLVINTAGE

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,675
Trophies
1
Age
28
Location
Imola
XP
6,880
Country
Italy
I would try looking for first-year-university lesson slides, the ones that were presented in the course I was (although for C) were easy to follow and each chapter came with examples and exercises!
 

Noctosphere

Nova's Guardian
OP
Member
Joined
Dec 30, 2013
Messages
6,721
Trophies
3
Age
30
Location
Biblically accurate Hell
XP
18,136
Country
Canada
I would try looking for first-year-university lesson slides, the ones that were presented in the course I was (although for C) were easy to follow and each chapter came with examples and exercises!
yea well, thats the point, I dontr want to go to university
Last year, I moved in another town, far away from where I live, to study videogame programming at college
college is much much cheaper than university.
Plus, here in quebec, idk in USA, you have to do 2 years of preuniversity before going to university
I dont have the money to go at university, sad face :(
 

boomario

Well-Known Member
Member
Joined
Oct 31, 2012
Messages
449
Trophies
1
XP
2,206
Country
Brazil
In my honest opinion the best way to learn any programming language is using whatever method you feel most comfortable with. Some people prefer books, others classrooms with teachers, youtube videos,checking cplusplus website, online tutorials and courses and even just getting a c++ compiler and trying to code something you like on the fly, looking on "How to X" on google every time a question pops out.
So, if you don't know what to do just try a bit of each and see whatever fits you best
 
Last edited by boomario,

Noctosphere

Nova's Guardian
OP
Member
Joined
Dec 30, 2013
Messages
6,721
Trophies
3
Age
30
Location
Biblically accurate Hell
XP
18,136
Country
Canada
In my honest opinion the best way to learn any programming language is using whatever method you feel most comfortable with. Some people prefer books, others classrooms with teachers, youtube videos,checking cplusplus website, online tutorials and courses and even just getting a c++ compiler and trying to code something you like on the fly, looking on "How to X" on google every time a question pops out.
So, if you don't know what to do just try a bit of each and see whatever fits you best
I once learned a bit GML with youtube video, is there a channel youd recommand me to learn c++?
If it's a youtube channel that has a series of video that explain how to code to achieve a specific goal, it would be even better
When I learned GML, the first project was a 2d RTS. it had like 30 videos about how to make a basic RTS game in GML
so if theres something similar with c++ on youtube, can you send me a link please?
I'll try to find one on my own as well

Oh, I meant online... I don't know if that's common in English-language cultures, but most professors here make their powerpoints public
I have no idea about where to find such :P
 

TheToaster

Kishore
Member
Joined
Aug 11, 2015
Messages
467
Trophies
0
Location
USA
XP
979
Country
United States
Theres a couple of book on amazon, but I really don't which one i should get :S
help?
I learned C++ using a website called cplusplus.com
They have a plethora of pages for beginners. After learning the basics, I suggest you buy "Professional C++, 4th Edition" (https://www.amazon.com/gp/aw/d/1119421306/ref=dp_ob_neva_mobile)

The latest edition is not released yet, but you can still preorder it. This is an excellent book and will brush up on the basics while moving into an in depth view in STL algorithms and software methodologies.
Then, of course, there's other books such as C++ Concurrency in Action, which deals with the C++ threading library (I believe the latest edition was just released or is about to be released soon).
C++ is such a large language and there are countless resources on each part and in depth books on the more esoteric features, but for starting out, I suggest Professional C++.

EDIT: Of course, Professional C++ assumes you have knowledge of the language or another similar language, so it's best to learn from cplusplus.com and then buy the book
 
Last edited by TheToaster,
D

Deleted User

Guest
The book that I used to learn the language to a certain extent was C++ Primer Plus by Stephen Prata. Really excellent.
 
  • Like
Reactions: TheToaster

Noctosphere

Nova's Guardian
OP
Member
Joined
Dec 30, 2013
Messages
6,721
Trophies
3
Age
30
Location
Biblically accurate Hell
XP
18,136
Country
Canada
I learned C++ using a website called cplusplus.com

They have a plethora of pages for beginners. After learning the basics, I suggest you buy "Professional C++, 4th Edition" (https://www.amazon.com/gp/aw/d/1119421306/ref=dp_ob_neva_mobile)

The latest edition is not released yet, but you can still preorder it. This is an excellent book and will brush up on the basics while moving into an in depth view in STL algorithms and software methodologies.

Then, of course, there's other books such as C++ Concurrency in Action, which deals with the C++ threading library (I believe the latest edition was just released or is about to be released soon).

C++ is such a large language and there are countless resources on each part and in depth books on the more esoteric features, but for starting out, I suggest Professional C++.

EDIT: Of course, Professional C++ assumes you have knowledge of the language or another similar language, so it's best to learn from cplusplus.com and then buy the book
ok, well, so far, I've pretty much learned trhe first part of c++ of openclassrooms, which was the basics
Part 2 was about Object/Class
is it still too much beginner for that book?
 

TheToaster

Kishore
Member
Joined
Aug 11, 2015
Messages
467
Trophies
0
Location
USA
XP
979
Country
United States
ok, well, so far, I've pretty much learned trhe first part of c++ of openclassrooms, which was the basics
Part 2 was about Object/Class
is it still too much beginner for that book?

I suggest you brush up on more advanced features like polymorphism, inheritance, and and stuff like that. But if you have the basics down, you should be good to go. The first chapter provides a crash course on the basic material anyway
 

Noctosphere

Nova's Guardian
OP
Member
Joined
Dec 30, 2013
Messages
6,721
Trophies
3
Age
30
Location
Biblically accurate Hell
XP
18,136
Country
Canada
I suggest you brush up on more advanced features like polymorphism, inheritance, and and stuff like that. But if you have the basics down, you should be good to go. The first chapter provides a crash course on the basic material anyway
the first chapter?
well, I'll get a list of what I've learn in this french tutorial (So, think about the fact that this c++ is old, and not uptodate)
variables (Int double unsigned int char and string (Ik string isnt a real var btw))
condition and loop
function
Table (1 2 and 3 dimmension)
read and write in files (txt in this case)

and finally, as a project, the tutoirial makes us write a "Mystery Word" game
 

yutosenpia

New Member
Newbie
Joined
Apr 12, 2018
Messages
2
Trophies
0
Age
24
XP
41
Country
United States
i suggest unity's online course, i think it has a lot of beginner level lessons...... i know a bit if you need some help.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +1
    The Real Jdbye @ The Real Jdbye: @LeoTCK actually good quality products are dying out because they can't compete with dropshipped... +1