question on c or c++

This is a discussion on question on c or c++ within the C Programming forums, part of the General Programming Boards category; Im sure you have heard this over and over again, but here goes. I know some C and i was ...

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    1

    question on c or c++

    Im sure you have heard this over and over again, but here goes.
    I know some C and i was wondering if learning c++ would be better?

    I want to maybe in the future get a job in programming.
    I also feel that at this point i will never stop learning programming so why not try to master c++

    i also dont want to spend to much time on c
    if im going to go to c++

    did you guys start out on c then move to c++
    it seems most you guys know both.....
    i know in college you go from c to c++

    thx
    Last edited by poopyjuice; 11-15-2007 at 11:19 PM.

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    I'd say learn both.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Well, to completely understand C++, you really need to completely understand C, because (almost) everything that you can do in C can be used in C++. Of course, there's also a lot of things in C++ that can be done in an easier/better way using "proper C++" - but if you work on existing C++ code, don't be surprised if you find "C-style" solutions.

    The main reason that schools tend to teach C first, then C++, is that if you understand the basics in C, then the basics of C++ are almost there already. C++ then adds a bunch of other things that aren't there in C.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    12
    I have the same opinion as above. Though you can learn C++ without knowing C, its always good to learn C prior to it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 12:47 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21