9 Replies - 1459 Views - Last Post: 13 November 2008 - 03:24 PM

#1 ludjer  Icon User is offline

  • D.I.C Head

Reputation: 15
  • View blog
  • Posts: 186
  • Joined: 31-October 08

C, C++ and C#

Post icon  Posted 01 November 2008 - 12:19 PM

can any one explain me the difference between those 3?

i know its a noob question but hey we all have to start somewhere
Is This A Good Question/Topic? 0
  • +

Replies To: C, C++ and C#

#2 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: C, C++ and C#

Posted 01 November 2008 - 12:29 PM

C is a general purpose programming language. C++ was based on C but has many added features. C# is a microsoft implementation of C in .NET framework.
Was This Post Helpful? 0
  • +
  • -

#3 ludjer  Icon User is offline

  • D.I.C Head

Reputation: 15
  • View blog
  • Posts: 186
  • Joined: 31-October 08

Re: C, C++ and C#

Posted 01 November 2008 - 12:34 PM

so which one should i start of with if i want to program network applications for windows?
cause i was trying in java but i heard from someone that i should try C instead
Was This Post Helpful? 0
  • +
  • -

#4 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4332
  • View blog
  • Posts: 12,127
  • Joined: 18-April 07

Re: C, C++ and C#

Posted 01 November 2008 - 12:40 PM

If you are coming from Java then you may want to start in C++. Java came out of C++ and the syntax and some of the principles from Java are seen in C++. C++ is C "with classes". So if you were to start in C, you would not be doing object oriented programming and everything would be a bit more linear in style.

However I find C# very good at creating network applications and it can be very readable. It doesn't have the more complicated aspects of C++ (like pointers) but can have them is you so choose. It is my language of choice, but I find that the principles from C++ creep into everything from Java to C# to PHP. So mastering C++ will take you a long way.

Ultimately it is up to you and which you feel more comfortable doing. If C++ is too hard, you can give C# a whirl and see if that makes more sense.

:)
Was This Post Helpful? 1
  • +
  • -

#5 ludjer  Icon User is offline

  • D.I.C Head

Reputation: 15
  • View blog
  • Posts: 186
  • Joined: 31-October 08

Re: C, C++ and C#

Posted 01 November 2008 - 12:44 PM

cool thanks for the info
i am gona look at some code samples now for c++ and C#

also any good IDE's i prefer opensource and free software but i dont mind other ones also
Was This Post Helpful? 0
  • +
  • -

#6 GWatt  Icon User is online

  • member icon

Reputation: 270
  • View blog
  • Posts: 3,068
  • Joined: 01-December 05

Re: C, C++ and C#

Posted 01 November 2008 - 12:47 PM

Codeblocks - C/C++
# Develop - C#
Was This Post Helpful? 0
  • +
  • -

#7 jacobjordan  Icon User is offline

  • class Me : Perfection
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Re: C, C++ and C#

Posted 01 November 2008 - 12:54 PM

C is the predecessor of C++. The two languages are very similar, however, C++ has more Object-Oriented features than C. If you are going to learn one of those two languages, i recommend C++.

C#, however, doesn't really fit into that group. C# is a Microsoft language based off several other languages, mostly C++, Java, and Delphi, with a C-like syntax structure. C# is also a .NET language.
Was This Post Helpful? 0
  • +
  • -

#8 lordms12  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 30
  • View blog
  • Posts: 339
  • Joined: 16-February 08

Re: C, C++ and C#

Posted 11 November 2008 - 08:24 AM

View PostGWatt, on 1 Nov, 2008 - 10:47 PM, said:

Codeblocks - C/C++
# Develop - C#


I did not know about # Develop before, it looks good. I may give it a try.
Was This Post Helpful? 0
  • +
  • -

#9 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1147
  • View blog
  • Posts: 7,134
  • Joined: 07-September 06

Re: C, C++ and C#

Posted 11 November 2008 - 09:03 AM

Visual C++ (or C#, depending on which way you want to go) express edition is pretty good. It is free and fairly powerful and made by windows so it should work on a windows computer without much (or any) hassle.
Was This Post Helpful? 0
  • +
  • -

#10 PostulateMan  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 2
  • View blog
  • Posts: 50
  • Joined: 14-September 08

Re: C, C++ and C#

Posted 13 November 2008 - 03:24 PM

I agree. Try the Express editions of the C++ and C#. It's free and good visual IDE. Very intuitive for someone who is just beginning. I also like Eclipse.

I also echo the sentiment of trying C++ first. It's a very powerful language and if you can master C++, it's very easy to learn other languages.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1