Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Difference Between C, C++ And C#?


44 replies to this topic

#1 H R

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 43 posts
  • Location:where you want to be?

Posted 18 November 2004 - 08:10 AM

What's the difference between C, C++ and C#? What is more closely related to working with ASP.NET, C++, C#, or VB? Which comiler is best for C++ and/or C#? Are there any benefits in choosing VB over C++ or C#?

Z^ivjo HR

#2 tmonty

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 48 posts
  • Location:Kalisz, Poland
  • Interests:programming, Monty Python, music (metal)

Posted 18 November 2004 - 04:09 PM

C++ is continuation of C. It has got classes, exceptions, templetates and few new things. To be honest it is better than ANSI C (e.g. virtual functions are very useful).

C# is the Microsoft's script (I am not sure) language for .NET framework, so I think it is more closely related to working with ASP.NET than C++.

#3 Swemetal

    Newbie

  • Kontributors
  • Pip
  • 4 posts

Posted 19 November 2004 - 09:32 PM

the best comiler is visual c++ 7.0 and borlands...
c++ is the newer version of c.. if you want to program with winapi and such things you should lern c# and for more advance applications and game programming c++ is best

#4 mukund

    Member [Level 2]

  • Kontributors
  • PipPipPipPipPip
  • 78 posts

Posted 25 December 2005 - 06:58 PM

there's no similarities between them.
best compilers are provided by borland and microsoft.
for asp.net go use C#

ask me if u want to know more

#5 switch

    Premium Member

  • Kontributors
  • PipPipPipPipPipPipPipPip
  • 178 posts
  • Location:NSW, Australia
  • Interests:music,<br />3d graphics programming.

Posted 26 December 2005 - 02:11 AM

Actually, there are lots of similarities between C, C++ and C#, but mainly in the form of syntax (The grammar rules of the language, so-to-speak). C++ is by far the most powerful language and for that reason is most effective for heavy duty programming. It is also probably the hardest to learn. C# is Microsoft's easy-to-use take on C++ and is supposed to be fairly powerful as well. It links in incredibly smoothly with ASP.NET and VB and all the rest of the .NET stuff as long as you're using Visual Studio.

VB is heaps easier to learn, but the actual programs run a lot slower and they are pretty much completely restricted to Windows. VB is also far less powerful, and for this reason, you'd have trouble doing things like 3D graphics with VB.

The best compiler for C++ in my opinion is Visual C++, you can download the free express edition of this and C# from the MSDN website. Check out this trap17 thread: Freebie Stuff>>Visual Studio Express.

Cheers! :D

#6 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 17 February 2008 - 10:40 AM

If we want to operate on integer greater than 11 digits how we can operate
In C language?

-reply by Anjali

#7 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 02 May 2008 - 03:32 PM

What is the Difference between C++ and C#
Difference Between C, C++ And C#?

Replying to mukund
What is the Difference between C++ and C#

-reply by Gowri

#8 ivenms

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 52 posts

Posted 03 May 2008 - 04:55 PM

The real difference between with C and other two is that :
  • C is structured prgramming language.
  • Other languages are Object Oriented programming Languages.
Difference with C++ and C#:
  • More support for graphics for C#.
  • Window oriented programming on C#.


#9 moodsey211

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 40 posts
  • Gender:Male
  • Location:Cebu City Philippines

Posted 14 July 2008 - 02:28 AM

C is more on functions. C++ is the OOP version of C. and C# is more on the designs.

#10 coolcat50

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 303 posts
  • Gender:Male
  • Location:Random Places
  • myCENT:65.80
  • Spam Patrol

Posted 14 July 2008 - 03:51 AM

C++ is simply a redesign of C. It is called C++ because it added one major thing to C, and that would be object-oriented programming. C# is basically Microsoft's implementation of C++ in the .NET enviroment. At least that is what I have heard.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users