Thread: Which 1st? C, C+, C++, C#

  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    3

    Which 1st? C, C+, C++, C#

    Which 1st? C, C+, C++, C#

    I had planned on C and work up but the more i read I see C is outdated and some recommend c++, others c#.

    I'l be using XCODE on a macbook.

    Can someone give me some opinions? or advice?

    Once I settle on language I'l be buying some books.

    I want to start right away but want some info from people in the know before I get stuck in.

  2. #2
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472
    Depends on what sort of things you see yourself programming - and commercially people often have several languages they are conversant in.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

  3. #3
    Registered User
    Join Date
    Jul 2012
    Posts
    3
    Quote Originally Posted by rogster001 View Post
    Depends on what sort of things you see yourself programming - and commercially people often have several languages they are conversant in.
    Thanks for quick reply.

    Could you give me examples of what each would relate to in programming.

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    You will likely get different answers from different people. I myself chose the path of C many years ago. I'd like to get into C++, but my time is extremely limited lately so I'm chosing to dig deeper into C.

    One reason I'm chosing to continue with C (besides familiarity) is because I'm moving towards programming embedded devices (i.e. microcontrollers).

    If you're interested in developing computer software, C++ would likely be a better route.

    I'm completely ignorant of C#, so I can't say anything to that.

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    C is more suited for embedded programming than desktop programming.
    "C+" does not exist. It is not a language. It is typically a term used for referring to people who tend to code C++ by using lots of C-style functions and/or using a C-style mindset for design.
    C++ is a nice, modern language, but lacks built-in GUI framework. That said, if you find a good 3rd part GUI framework for GUI apps, then C++ is as good as most other languages. It does lack many common things that you might find in other languages, though. Its standard library contains mostly such things as algorithms and containers, but lacks things as networking, etc.
    C# is a nice modern language, too. It has a huge framework (including GUI), making it very nice to create modern applications in. It lacks the same flexibility as the C++ language, however, but makes up for this with its rich set of tools and framework.

    Now pick the language you seem to like best to start learning it. Then you can learn the rest, since knowing multiple languages is not a woe, but an advantage.
    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.

Popular pages Recent additions subscribe to a feed