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

Discussion in 'Computer Programming, Emulation, and Game Modding' started by Noctosphere, Mar 12, 2018.

  1. Noctosphere
    OP

    Noctosphere Adoptive father of my kitty named Zelda

    Member
    8
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
    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
     
    DRAGONBALLVINTAGE likes this.
  2. Ryccardo

    Ryccardo WiiUaboo

    Member
    11
    Feb 13, 2015
    Italy
    Imola
    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!
     
  3. Noctosphere
    OP

    Noctosphere Adoptive father of my kitty named Zelda

    Member
    8
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
    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 :(
     
  4. boomario

    boomario Nothing to say here.

    Member
    3
    Oct 31, 2012
    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, Mar 12, 2018
  5. Ryccardo

    Ryccardo WiiUaboo

    Member
    11
    Feb 13, 2015
    Italy
    Imola
    Oh, I meant online... I don't know if that's common in English-language cultures, but most professors here make their powerpoints public
     
  6. Noctosphere
    OP

    Noctosphere Adoptive father of my kitty named Zelda

    Member
    8
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
    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

    I have no idea about where to find such :P
     
  7. Noctosphere
    OP

    Noctosphere Adoptive father of my kitty named Zelda

    Member
    8
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
    Theres a couple of book on amazon, but I really don't know which one i should get :S
    help?
     
    Last edited by Noctosphere, Mar 12, 2018
  8. TheToaster

    TheToaster Warrior of the Toast

    Member
    3
    Aug 11, 2015
    United States
    USA
    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, Mar 12, 2018
  9. blujay

    blujay GBATemp's Official Warthog

    Member
    9
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 2, 2015
    United States
    Gilbert, Arizona
    The book that I used to learn the language to a certain extent was C++ Primer Plus by Stephen Prata. Really excellent.
     
    TheToaster likes this.
  10. Noctosphere
    OP

    Noctosphere Adoptive father of my kitty named Zelda

    Member
    8
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
    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?
     
  11. TheToaster

    TheToaster Warrior of the Toast

    Member
    3
    Aug 11, 2015
    United States
    USA
    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
     
  12. Noctosphere
    OP

    Noctosphere Adoptive father of my kitty named Zelda

    Member
    8
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
    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
     
  13. blujay

    blujay GBATemp's Official Warthog

    Member
    9
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 2, 2015
    United States
    Gilbert, Arizona
  14. Noctosphere
    OP

    Noctosphere Adoptive father of my kitty named Zelda

    Member
    8
    GBAtemp Patron
    Noctosphere is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 30, 2013
    Canada
    Back with kitty Zelda forever :D
  15. yutosenpia

    yutosenpia Newbie

    Newcomer
    1
    Apr 12, 2018
    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.
     
  16. DrayanoX

    DrayanoX Member

    Newcomer
    2
    Apr 12, 2017
    France
  17. raldagAman

    raldagAman Newbie

    Newcomer
    1
    Jun 4, 2018
    United Kingdom
    Are Udemy courses good enough or should I try to dedicate myself into getting a degree?