New to computer programming? C++

From C++ to PHP, debugging to webhosting; help and discussion about writing your latest program to running your website. NOT for help when your PC won't work.

Announcements Posted on
Enter our travel-writing competition for the chance to win a Nikon 1 J3 camera 21-05-2013
Sign in to Reply
  1. tonyhawken's Avatar
    • Adored and Respected Member
    • Posts: 450
    Re: New to computer programming? C++
    (Original post by Psyk)
    You should clarify, no reason to use C strings as a beginner. Although even that depends on what you're interested in learning. If you're interested in low level stuff it might make sense to take a "bottom up" approach to programming where you learn the low level stuff first (for example how things are represented in memory) and then move onto more high level concepts. But I think that's probably not the best way for most people to learn.
    I made the assumption that a beginner would have neither the inclination nor the motivation to do any low level stuff. For a beginner there is absolutely no reason to know how data is represented in memory - a simple understanding what variables are will suffice. Likewise for keyboard input and the use of strings. Why complicate things by using c-strings.
  2. Psyk's Avatar
    • TSR Royalty
    • Location: Leamington Spa
    • Posts: 19,075
    Re: New to computer programming? C++
    (Original post by tonyhawken)
    I made the assumption that a beginner would have neither the inclination nor the motivation to do any low level stuff. For a beginner there is absolutely no reason to know how data is represented in memory - a simple understanding what variables are will suffice. Likewise for keyboard input and the use of strings. Why complicate things by using c-strings.
    I don't think that's a fair assumption. Some beginners might be more interested in the engineering side of it, in which case maybe they would prefer to start with low level stuff. I think learning it that way round is a valid approach.
  3. Qas1m's Avatar
    • Junior Member
    • Posts: 55
    Re: New to computer programming? C++
    I know I haven't been active on this thread for a while, but I must say that I used some of the guides recommended and started with C++, but after a short while I moved on to Java, using a guide designed for kids aged '8-9'... but at least it is teaching me the basics! Now that I understand the general use of loops, strings, etc. and I am willing to go on with something slightly more advanced now. :youbetcha:
    Saying that though, I haven't really delved into the Object Oriented Programming side of things yet!! :llama:
  4. r4ndom's Avatar
    • Respected Member
    • Posts: 203
    Re: New to computer programming? C++
    (Original post by Qas1m)
    I know I haven't been active on this thread for a while, but I must say that I used some of the guides recommended and started with C++, but after a short while I moved on to Java, using a guide designed for kids aged '8-9'... but at least it is teaching me the basics! Now that I understand the general use of loops, strings, etc. and I am willing to go on with something slightly more advanced now. :youbetcha:
    Saying that though, I haven't really delved into the Object Oriented Programming side of things yet!! :llama:
    The first I thought when I read the title was "I'll tell him to better learn Java"

    Conditions, loops and that are the first step. All the basic programing goes there. It's like learning the numbers to be able to add.

    You'll see that the aproach to classes will be a bit different. But it's ok, one you understand the concepts, everything looks much clear
  5. tonyhawken's Avatar
    • Adored and Respected Member
    • Posts: 450
    Re: New to computer programming? C++
    (Original post by markop2003)
    Start with Java (much more forgiving and Netbeans gives a lot of pointers) or straight C (has more in common with C++ but you don't have to worry about any OO stuff).
    You don't have to worry about OO stuff using C++ either. It is a hybrid language so you can choose to program procedurally if you prefer.
  6. tonyhawken's Avatar
    • Adored and Respected Member
    • Posts: 450
    Re: New to computer programming? C++
    (Original post by Qas1m)
    I also got out java for dummies... afraid it had much of the same problems as the other dummies book. NOT ENOUGH DAMN CODING!!! Same question but for java really!!
    The other problem with most dummies books is that they contain a lot of useless waffle and are generally crap.
  7. Melikeyflute's Avatar
    • Adored and Respected Member
    • Posts: 478
    Re: New to computer programming? C++
    If I want to learn about stuff such as DDoS attack and the various types of computer viruses then is it necessary for me to learn about programming? I'm really interested in hacking as well lol but not because of any malicious intent I genuinely find it interesting haha.
  8. estel's Avatar
    • TSR Idol
    • Location: Bristol
    • Posts: 9,352
    Re: New to computer programming? C++
    (Original post by Melikeyflute)
    If I want to learn about stuff such as DDoS attack and the various types of computer viruses then is it necessary for me to learn about programming? I'm really interested in hacking as well lol but not because of any malicious intent I genuinely find it interesting haha.
    It depends what you want to learn in particular, but some general grasp of concepts is always beneficial.
  9. Melikeyflute's Avatar
    • Adored and Respected Member
    • Posts: 478
    Re: New to computer programming? C++
    (Original post by estel)
    It depends what you want to learn in particular, but some general grasp of concepts is always beneficial.
    Umm, I don't know enough about the things I mentioned to know what I want to know in particular lol but I'd like to know a lot more about the different type of viruses, how to create them and how to get rid of them.
  10. Qas1m's Avatar
    • Junior Member
    • Posts: 55
    New to computer programming? C++
    (Original post by Sokka)
    Asian dad: Programming in C++? Should be programming in A++
    Ok, this is definitely what my dad would say 😃😃


    This was posted from The Student Room's iPhone/iPad App
Sign in to Reply
Share this discussion:  
Useful resources
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.