Thread: new to c+ need help =x

  1. #1
    Registered User xdeathxc's Avatar
    Join Date
    May 2006
    Location
    SG
    Posts
    14

    new to c+ need help =x

    i have difficulty in understanding the tutorial. lol is that bad? can anyone give me advice on what should i do... i wan to start learning and i have absolutely no experience in any sort of programming..
    please help

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >lol is that bad?
    No, of course not. If you understand everything, you aren't learning anything.

    >can anyone give me advice on what should i do
    Well, first you should take your time when forming a question and typing it out. If you care enough to present your questions in a coherent manner with well formed writing, you'll find that people care enough to give you equally good answers.

    As for learning. Just keep at it and things will start to click. There's no trick for learning how to program. It's all about time and effort. Don't be afraid to ask questions or admit that you don't understand and ask for clarification about something specific. We're here to help, after all.
    My best code is written with the delete key.

  3. #3
    Registered User xdeathxc's Avatar
    Join Date
    May 2006
    Location
    SG
    Posts
    14
    hm. soo.... can u give me online tutorials links that are easy-to-understand and ill check it out... if there are any problems ill post here -x

  4. #4
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    My best code is written with the delete key.

  5. #5
    Registered User xdeathxc's Avatar
    Join Date
    May 2006
    Location
    SG
    Posts
    14
    wow. the files at '' http://www.mingw.org/download.shtml '' is like -.- .. what exactly should i dl for the .exe

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Don't download any.

    In your baby steps, you probably will prefer a simple IDE. Bloodshed Dev-C++, Code::Blocks, Visual-MinGW, C++ 2005 Express, and others will just take away the hassle of installing a compiler/debugger and speed your learning process.

  7. #7
    Registered User xdeathxc's Avatar
    Join Date
    May 2006
    Location
    SG
    Posts
    14
    icic kk =D

  8. #8
    Registered User xdeathxc's Avatar
    Join Date
    May 2006
    Location
    SG
    Posts
    14
    do i ned to set the path of the shell variable when im using dev c++?

  9. #9
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    OK... You need to learn three different things at the same time, and the tutorial only covers one of them! (That's one really good reason to take a class when you are learning your first programming language.)

    1. The C++ language. The tutorials get you started with that. Then, you will need books. A good beginning book will cover about the same material as the tutorials, but with a lot more detail and explanation. For example, Accelerated C++ by Koenig & Moo is about 350 pages. Teach Yourself C++ in 21 Days by Jesse Liberty, is over 700 pages!

    2. How to use your compiler/IDE. Most compilers don't come with good easy-to-understand instructions for beginners. I've used several different compilers, and it's not unusual for it to take a half a day to get one installed, configured, and get Hello World compiled!

    3. What programming is all about. How programs work, and the kinds of things you can do with a program.... Variables, loops, conditional branching, calculations, etc. ...About compilers, high-level languages, machine language, etc. I don't own any books that cover this subject, but I just found this Introduction To Programming web page. (I haven't read it myself yet... So, I dont know how good it is. )


    Programing is hard, and C++ is a complicated language. I often compare programming with learning how to play a musical instrument... You can learn a few guitar chords in a couple of days, but you aren't going to impress anybody 'till you've been playing and practicing for about a year.

  10. #10
    Registered User xdeathxc's Avatar
    Join Date
    May 2006
    Location
    SG
    Posts
    14
    so.. getting a book is a must? and what book do u reccommend?

  11. #11
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    See DougDbug's post for two common suggestions for good books to start out with. Many people who get serious about programming will have a series of books to look at/use. So yes, many people will tell you a good book is necessary. Can you write some programs without using a book to help, sure. Can you do what you want without owning a book along the way? Only if you will be writing the most simple of programs. Do yourself a favor: get a good book and add to your collection as your need grows!
    You're only born perfect.

  12. #12
    Registered User xdeathxc's Avatar
    Join Date
    May 2006
    Location
    SG
    Posts
    14
    i have one dumb question... lol.. u know the sapces between...
    eg. #include <iostream> // std::cout
    how are those spaces made? using TAB key?

  13. #13
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >how are those spaces made?
    Um, the spacebar probably. I'm not sure I understand your question.
    My best code is written with the delete key.

  14. #14
    Registered User xdeathxc's Avatar
    Join Date
    May 2006
    Location
    SG
    Posts
    14
    hm.. like the length of the spaces between #inclue and <iostream> from the guide are quite long and i dont see how i can do that with 1 tap of the spacebar

  15. #15
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    all you need is one space

Popular pages Recent additions subscribe to a feed