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

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

Sep 3, 2010
  1. Inunah
    OP

    Banned Inunah The Female Mistaken for a Male.

    Joined:
    Sep 14, 2009
    Messages:
    2,679
    Location:
    USA
    Country:
    United States
    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

    Member ecko GBAtemp Regular

    Joined:
    Nov 28, 2009
    Messages:
    261
    Country:
    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

    Member xakota GBAtemp Fan

    Joined:
    Mar 18, 2010
    Messages:
    340
    Country:
    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

    Newcomer boogerlu Newbie

    Joined:
    Jul 21, 2010
    Messages:
    2
    Country:
    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

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    ... did you read Chapter 0?

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

    Global Moderator Sicklyboy Resident Mechanical Keyboard Addict

    Joined:
    Jul 15, 2009
    Messages:
    5,620
    Location:
    [̲̅$̲̅(̲̅ ͡° ͜ʖ ͡°̲̅)̲̅$̲̅]
    Country:
    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

    Member Phoenix Goddess The Ninja's Protégée

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

    Newcomer wheatshelf Newbie

    Joined:
    Apr 9, 2007
    Messages:
    6
    Country:
    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

    Member xdarkx GBAtemp Fan

    Joined:
    May 9, 2007
    Messages:
    300
    Country:
    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

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,747
    Country:
    United Kingdom
    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

    Member Issac Mini-mod

    Joined:
    Apr 10, 2004
    Messages:
    4,455
    Location:
    Sweden
    Country:
    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

    Member Masked Ranger GBAtemp Advanced Fan

    Joined:
    Nov 24, 2009
    Messages:
    502
    Country:
    Antarctica
    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

    Banned Inunah The Female Mistaken for a Male.

    Joined:
    Sep 14, 2009
    Messages:
    2,679
    Location:
    USA
    Country:
    United States
    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

    Newcomer Tricky Upgrade Member

    Joined:
    Aug 14, 2010
    Messages:
    27
    Location:
    Mozambique
    Country:
    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

    Banned Inunah The Female Mistaken for a Male.

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

    Newcomer Tricky Upgrade Member

    Joined:
    Aug 14, 2010
    Messages:
    27
    Location:
    Mozambique
    Country:
    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

    Banned Inunah The Female Mistaken for a Male.

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

    Member Berthenk Epitome of Awesomeness

    Joined:
    May 16, 2008
    Messages:
    1,314
    Country:
    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

    Banned Inunah The Female Mistaken for a Male.

    Joined:
    Sep 14, 2009
    Messages:
    2,679
    Location:
    USA
    Country:
    United States
    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

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    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.
     

Share This Page