CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: C++, C# or C?

  1. #1
    Join Date
    Jun 2008
    Posts
    10

    C++, C# or C?

    I've been trying to decide which programming lanquage to learn. I have been trying to learn programming for awhile couple years now, but I never really commited to it at all. Well I NEVER have commited to really anything and say Forget it and sit down and do everything possiable. Now it comes down to which lanquage to learn C, C++ or C Sharp, does anyone have any ideas or just thoughts they would like to share?

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: C++, C# or C?

    C# has more in common with Java than it does with either C or C++. That's my understanding, anyway, I don't really know much about it.

    There's some overlap between C and C++, but the big difference between them is that C++ allows cleaner and more intuitive code, at least from my point of view, which C allows you to get deeper into the specifics of exactly what's happening.

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: C++, C# or C?

    It depends what you want to do. C# combined with .Net is going to be the easiest to get up to speed on quickly, especially for developing full blown Windows apps, and it's pretty marketable right now, so that would be my choice, with C++ second.

    C++ is pretty much a superset of C, so if you learn C++, you wouldn't have a whole lot of trouble picking up C if you needed it.

  4. #4
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: C++, C# or C?

    Writing C always feels like writing C++ with one hand tied behind my back. But I know people who really like it.

  5. #5
    Join Date
    Mar 2004
    Location
    KL, Malaysia
    Posts
    63

    Re: C++, C# or C?

    I guess it all depends on the type of application you intend to develop. If you are writing database/network related software, go for C# as it cut development time tremendously; if you are developing graphics related apps such as 3d games, go for C/C++ or even with some inline Assembly, which can achieve higher run-time performance.

    Another thing I feel is you will tend to learn more of memory management stuff with C/C++ with the absence of garbage collector.

  6. #6
    Join Date
    Feb 2009
    Location
    Vietnam
    Posts
    15

    Re: C++, C# or C?

    I think you need to study C first, after that C++ or C#, which depends on your application as the man above advised

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured