Thread: question on c or c++

  1. #1
    Registered User
    Join Date
    Nov 2007

    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++

    Last edited by poopyjuice; 11-16-2007 at 12:19 AM.

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

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    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.

    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
    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
    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
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM