Thread: What's wrong with C++ as a first language?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by iMalc View Post
    Is starting at a rather young age really that hard to believe?
    Maybe not these days, but back in 1979 I think that would have been an exceptional case. In fact, the first PC I ever saw was like, back in 1983, and the owner had one simply because she was a chemist and needed it for work-related processing. And it wasn't at least another 10 years before I noticed anyone else having one. Hell, I didn't even own, much less know how to use, a computer until maybe '98 or '99! I was a bit behind, though.

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by Sebastiani View Post
    I don't know - it took me about a hour and a half to master BASIC, and I'm pretty sure I didn't miss anything.
    Woot, i stand corrected... Commodore BASIC FTW!!!

    You look too young to be 50, abachler. Unless you're saying you started programming when you were, like, 10.
    Actually I was 9. I have a picture around here somewhere of me with my VIC-20, Ill have to dig it up.

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by abachler View Post
    Woot, i stand corrected... Commodore BASIC FTW!!!
    Actually I was 9. I have a picture around here somewhere of me with my VIC-20, Ill have to dig it up.
    Heh, I actually had to google that. Pretty impressive specs, too:

    Quote Originally Posted by Wikipedia
    It was equipped with only 5 KB of RAM (of this, only 3583 Bytes were available to the user) and used the same MOS 6502 CPU as the PET.
    Why on earth would you need that much RAM, anyway?

    Anyway, at 9, that's pretty amazing. I don't think I could have grokked such a thing so young. In fact, if it didn't involve like lizards or GI Joe, you could safely assume that it was out of my league...

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Nothing wrong with hobbyists either. I am a hobby programmer for C++ and have come to a huge understanding, especially due to hanging out on these boards.
    They are probably the best source of learning C or C++
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User meganewbie's Avatar
    Join Date
    Apr 2009
    Location
    USA, CA
    Posts
    10
    Quote Originally Posted by Elysia View Post
    Nothing wrong with hobbyists either. I am a hobby programmer for C++ and have come to a huge understanding, especially due to hanging out on these boards.
    They are probably the best source of learning C or C++
    That is awsome!

    Thank you for the info!

  6. #6
    The larch
    Join Date
    May 2006
    Posts
    3,573
    C++ forces you to have structure in your programs, structure that makes sense.
    How does it do that?
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  7. #7
    Registered User
    Join Date
    Sep 2009
    Posts
    63
    I was going to ask the same thing. If you wanted to, you could write a program with no classes, and no functions other than the main function. I shudder at the thought of doing such a thing for most of the programs I've written, but I suppose it would be possible.

  8. #8
    ...and never returned. StainedBlue's Avatar
    Join Date
    Aug 2009
    Posts
    168
    Maybe "forced structure" was a bad choice of words.

    What I mean is sometimes in languages like C# or Java, you rely so heavily on built-in "nice-ities" that you get away from relying on yourself to do basic things. That's all well and good, but sometimes it feels like something is missing. I don't know, I can't explain it.

  9. #9
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    I can tell you from my experience that learning C++ in high school was one of the best things I've ever done. I started BASIC programming on the Apple II at about 11 years old, and did that for a while, then got my feet wet with procedural programming in QBasic, then a friend gave me an old version of Borland C++ when I was a junior in HS. This was back in the days of DOS 6.22 and windows 3.1(1). C++ didn't even have templates yet at that time. I have now worked with C, C++, C#, Python and PHP, and I can say without a doubt that, had I not learned C++ first, I would not have picked up the other languages as easily.

    On a side note, there was mention of RealBasic and LabVIEW, and I have used FreeBASIC from time to time, and find it to be quite useful. It uses nearly identical syntax to QBasic, but adds classes and other OO features, without the typical MS bastardization. There are ports of wxWidgets and GTK+ for it, and since it's basically a front end for GCC, it has good interoperability with code from other gcc compilers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 15
    Last Post: 08-09-2009, 11:20 AM
  2. The value of learning a new programming language
    By h3ro in forum General Discussions
    Replies: 21
    Last Post: 06-13-2009, 01:48 AM
  3. ASM to C language
    By TAZIN in forum C Programming
    Replies: 22
    Last Post: 06-03-2009, 06:29 AM
  4. God
    By datainjector in forum A Brief History of Cprogramming.com
    Replies: 746
    Last Post: 12-22-2002, 12:01 PM
  5. bubble sort in assembly language!!!!!!
    By lorenzohhh in forum C++ Programming
    Replies: 1
    Last Post: 04-15-2002, 08:30 PM

Tags for this Thread