I'd like a crash course in C++...

Discussion in 'NDS - ROM Hacking and Translations' started by Inunah, Sep 3, 2010.

  1. Inunah
    OP

    Inunah The Female Mistaken for a Male.

    Banned
    2,679
    2
    Sep 14, 2009
    United States
    USA
    Anyone have an extremely simplified way to learn C++? I read lesson 1 (Not exactly lesson 1, but still..) on some site every day for 3 weeks, but I could never understand it enough to go to the next lesson because it was too detailed (even though they were saying it all in simple terms)...

    So far, my understanding of C++ is that a wizard did it. After 3 weeks of furiously studying the damn thing in an attempt to understand it.

    So I'll need it more simplified than the stuff on this...

    And I say crash course because I'm tired of attempting to learn things and not understanding ONE FUCKING THING after weeks of study and just want to learn it as fast as possible now.

    I'm probably gonna get hit for this. *Prepares a shield*

    EDIT: I remember learning some HTML in a matter of an hour just by getting a premade HTML page and having an HTML cheat sheet out, maybe something similar could be done with C++?
     


  2. ecko

    ecko GBAtemp Regular

    Member
    291
    39
    Nov 28, 2009
    Afghanistan
    imo, the best way to learn a new language is by making (useless) programs

    an example would be "hello world"
    or maybe a program that writes 1 to 10 each on a newline.

    then work your way up.
    for example, a program which increases a number exponentially till 1024.

    just throwing some ideas around [​IMG]
     
  3. xakota

    xakota GBAtemp Fan

    Member
    340
    2
    Mar 18, 2010
    United States
    Take a class, seriously. I was the same way with Java. I tried reading online tutorials and I just could not get it no matter what I did. I just started a Java class at college and I've started making (As the member above me said, useless) programs, and I understand it perfectly. I don't think I could have learned it any other way.
     
  4. boogerlu

    boogerlu Newbie

    Newcomer
    2
    0
    Jul 21, 2010
    United States
    Download a PDF textbook on C++.
    You can Google a bunch of them. And be sure to download a compiler and a C++ illustrator program(they are free) to practice programming.
     
  5. Rydian

    Rydian Resident Furvert™

    Member
    27,883
    8,108
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    ... did you read Chapter 0?

    'Cause that lays out basics that Chapter 1 assumes you know.
     
  6. Sicklyboy

    Sicklyboy Resident Mechanical Keyboard Addict

    Global Moderator
    5,712
    4,674
    Jul 15, 2009
    United States
    [̲̅$̲̅(̲̅ ͡° ͜ʖ ͡°̲̅)̲̅$̲̅]
    Wow I just forgot how to declare the main function of a C++ program XD

    Been so long... I use java now.
     
  7. Phoenix Goddess

    Phoenix Goddess The Ninja's Protégée

    Member
    3,810
    893
    Apr 25, 2009
    United States
    Away from civilization.
    I stopped learning C++ to switch over to C#, but I'm sure one day I'll go back to learning C++.
     
  8. wheatshelf

    wheatshelf Newbie

    Newcomer
    6
    0
    Apr 9, 2007
    United States
    html is a mark up language. it's cake.

    three weeks of C++ is nothing. it is a full-bodied, robust language. would you be comfortable speaking russian in 3 weeks? do what ecko says and start making a million worthless programs. you'll get it, over some time.
     
  9. xdarkx

    xdarkx GBAtemp Fan

    Member
    303
    15
    May 9, 2007
    Canada
    A C++ illustrator program is ...?

    On topic:
    If you are trying to find a shortcut to learn C++, then I can tell you there isn't. HTML is easy because you mostly need to know what each tag does and how to use them properly. C++ nowhere near as simple as HTML, so you will need to get yourself a C++ book and learn from there. As for creating a C++ program, all you need is a compiler and a text editor. IDE is nice to have, but it isn't required.
     
  10. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,361
    9,153
    Nov 21, 2005
    http://www.howstuffworks.com/c.htm perhaps?
    Granted it is C rather than C++ but it is far easier to move up (C++ most notably having object oriented support) and the basics are all the same.
     
  11. Issac

    Issac I

    Global Moderator
    GBAtemp Patron
    Issac is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,217
    2,311
    Apr 10, 2004
    Sweden
    Sweden
    Well, I recommend The Book C++ primer plus by Steven Prata... It is VERY detailed as in: Explains every little thing on really good levels, comparing with real life objects and such. [​IMG]

    Here you can see the first intro pages which holds your hand into the world of programming and also some appendix pages at the end describing different bases (hexadecimal, decimal, binary) [​IMG]
    http://www.amazon.com/Primer-Plus-5th-Step...ader_0672326973
     
  12. Masked Ranger

    Masked Ranger GBAtemp Advanced Fan

    Member
    502
    2
    Nov 24, 2009
    I want to say this quote is stolen from a Pascal book. "Pascal is like having a water pistol pointed at everyone, while C is like having a .357 Magnum pointed at your head."
     
  13. Inunah
    OP

    Inunah The Female Mistaken for a Male.

    Banned
    2,679
    2
    Sep 14, 2009
    United States
    USA
    Well, I can't take any C++ courses since I haven't found a college in the area that has any of that.

    I read Chapter 0. I went to Chapter 1. I didn't understand Chapter 1. I went back to Chapter 0. I kept reading it over and over. I never understood.

    I can't buy books because I'm so poor I can't afford $1.

    I don't understand why there would be 1-10 on each line.

    I can't start making a million worthless programs until I figure out how to use C++.

    Argh, C looks like the scripting language for RMVX. I tried to learn that once but it was so complicated all I managed was learning what a script looked like and that it required { and }.

    Tried looking at howstuffworks.... But I'm stuck. It's too complicated. I don't understand how to use half the shit.

    And I don't like PDF files because half the time they refuse to open on my comp.





    ...Sorry it took me so long to respond. I was trying to system restore a computer that kept restarting endlessly for the rest of the night.
     
  14. Tricky Upgrade

    Tricky Upgrade Member

    Newcomer
    27
    2
    Aug 14, 2010
    Mozambique
    Mozambique
    If you find C++ hard to learn, maybe you should give up on it and try learning another language, like C# or JAVA.
     
  15. Inunah
    OP

    Inunah The Female Mistaken for a Male.

    Banned
    2,679
    2
    Sep 14, 2009
    United States
    USA
    Are either of those any easier and could be used to make .nds homebrew?
     
  16. Tricky Upgrade

    Tricky Upgrade Member

    Newcomer
    27
    2
    Aug 14, 2010
    Mozambique
    Mozambique
    Well... they are easier to learn, if you dedicate yourself. I thought you could only make nds homebrews with C, isn't it?
     
  17. Inunah
    OP

    Inunah The Female Mistaken for a Male.

    Banned
    2,679
    2
    Sep 14, 2009
    United States
    USA
    Shit, dedication don't do nothin' for me. I almost didn't graduate, even though I was dedicating myself to schoolwork.
     
  18. Berthenk

    Berthenk Epitome of Awesomeness

    Member
    1,314
    8
    May 16, 2008
    Netherlands
    Why are you jumping in on C++ without prior coding experience? That hour spent looking at HTML wasn't the best thing you could do.
    Try some HTML tutorials, like the one at HTML Dog, then move on to JavaScript.
    After that, try that C++ tutorial again. If you still don't get it, try falling back to JavaScript or have a look at another language.
     
  19. Inunah
    OP

    Inunah The Female Mistaken for a Male.

    Banned
    2,679
    2
    Sep 14, 2009
    United States
    USA
    That hour spent on HTML has taught me enough HTML to move along. [​IMG]

    I don't like Javascript. [​IMG] It's too complicated for what it's worth.
     
  20. Rydian

    Rydian Resident Furvert™

    Member
    27,883
    8,108
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    C++ is not a good first language if you've never actually programmed.

    HTML is not a programming language, it will not introduce you to required programming concepts.

    Go try Python first.

    You will not be making any good DS homebrew for at least a month.