Thread: whats the easiest langauge...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    132

    whats the easiest langauge...

    Is C easier to learn than C++? and is C++ alot easier to learn when you know C?

    just wonderng.

    im currently learning C++ but would u recomend starting to learn c aswell or just stick to C++?

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    903
    I'd say stick to C++. My opinion is biased as hell but stick with C++. C++ makes things much easier than C and it removes some garbage (like having to put 'struct' each time you declare a struct of whatever type) and adds the STL and other great features that aren't part of the C language.

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    >>Is C easier to learn than C++?

    Yes, because C is not as complicated as C++. But ... c++ has to many more advantages that it is worth learning. You should learn one or the other, but learn them both.

    >>is C++ alot easier to learn when you know C?
    Maybe. If you know nothing about any programming language then c++ may be easier to learn if you have already learned C but there are some things about C that don't work in C++. You really should view C and C++ as two completly different languages, rather than trying to view c++ as an extension of C.
    Last edited by Ancient Dragon; 05-23-2006 at 10:21 PM.

  4. #4
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    If you want to learn C++, learn C++.
    http://www.research.att.com/~bs/bs_f...l#prerequisite
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  5. #5
    Registered User
    Join Date
    Apr 2006
    Posts
    132
    ok thanks for the replies people! ill just stick to C++ then.

    was just curious thats all.

  6. #6
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    Some people say there are advantages in using C for some purposes, and others for using C++ in other situations ... I don't know what they are, but if you know how to use C++, I think you should have a pretty good idea of how C works, the basics of it I mean. I guess the converse applies too though.
    Last edited by twomers; 05-24-2006 at 02:51 AM.

  7. #7
    The Richness... Richie T's Avatar
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    469
    C is easier, but thats because it's used for much different things -
    the main use for C is in the embedded systems market -
    programming micro-controllers that run your washing machine,
    where it is a higher level alternative to chip specific assembly.

    C is less that half the size of C++ in terms of features IMO. C++
    is also easier to learn knowing some C, but that doesn't mean
    you should do it that way. Learning C++ first and then learning C
    can lead to writing "better" C code, but there are pros and cons
    for learning either first.
    No No's:
    fflush (stdin); gets (); void main ();


    Goodies:
    Example of fgets (); The FAQ, C/C++ Reference


    My Gear:
    OS - Windows XP
    IDE - MS Visual C++ 2008 Express Edition


    ASCII stupid question, get a stupid ANSI

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. easiest way of writing all the contents of
    By stanlvw in forum C++ Programming
    Replies: 2
    Last Post: 03-31-2009, 01:09 PM
  2. Easiest 3D Engine
    By audinue in forum Game Programming
    Replies: 4
    Last Post: 07-06-2008, 11:41 PM
  3. Please tell me about the easiest...
    By Moony in forum C Programming
    Replies: 11
    Last Post: 06-16-2006, 02:05 AM
  4. Easiest 'real' game to start with...
    By Leeman_s in forum Game Programming
    Replies: 9
    Last Post: 01-03-2002, 01:52 PM
  5. The easiest way to make a msgbox?
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 12-30-2001, 01:52 AM