Skip to content

[Programming]C++ vs C#

Featured Replies

After all the time of studying C++ and in a little time my C++ program will be ready for be shared here...

I want to ask opinions about C#, Why so many programs are in C#?

It's similar to C++, so I am thinking of study it. What's your opinion?

Actually C# is a .NET language which means you need .NET framework to run it so thats a minus.

However it is a powerful language which focuses on productivity of the casual windows developer.

Unlike C++ , C# is easier to learn and is similar to Java.

  • Author

Actually C# is a .NET language which means you need .NET framework to run it so thats a minus.

However it is a powerful language which focuses on productivity of the casual windows developer.

Unlike C++ , C# is easier to learn and is similar to Java.

So do u recommend me to start learning C#?

is it has more possibilities than C++?

Ps.(I know Java)

TheEnd can you link me the book you're reading on C++, cause I've started before a couple of weeks to study, but I don't like mine :)

 

Appreciated,

-Blane

  • Author

TheEnd can you link me the book you're reading on C++, cause I've started before a couple of weeks to study, but I don't like mine :)

 

Appreciated,

-Blane

To tell you the truth I have read a couple of different tutorials/books, The best of all was :

http://www.cplusplus.com/files/tutorial.pdf

I have 2 Greek books , if you want them PM me.

So do u recommend me to start learning C#?

is it has more possibilities than C++?

Ps.(I know Java)

 

I recommend you to learn C# , it will be easier (for the syntax at least) because you know java but I think C++ its better because its multi platform.About the possibilities, that depends both on the language and the programmers knowledge.

The truth is.. c# is newer and like stealth said, uses .NET(which comes with windows since xp sp2 and generally all users have at least 1.0) and thus provides much more functionality, basically its easyer to write more complicated things, while c++ is more basic, tho not a lot lol.. the difference is mostly in syntax.. if you see c#, j#... they are trying to make syntax same in more advanced languages and imo that should of been standardized from the start (thank god that at least logic is). Anyway, the most important thing is that.. c# is a language that is not compiled to native code.. which does not necessarily mean that its slower! it does in most cases tho. =P

The truth is.. c# is newer and like stealth said, uses .NET(which comes with windows since xp sp2 and generally all users have at least 1.0) and thus provides much more functionality, basically its easyer to write more complicated things, while c++ is more basic, tho not a lot lol.. the difference is mostly in syntax.. if you see c#, j#... they are trying to make syntax same in more advanced languages and imo that should of been standardized from the start (thank god that at least logic is). Anyway, the most important thing is that.. c# is a language that is not compiled to native code.. which does not necessarily mean that its slower! it does in most cases tho. =P

C# can't be newer then C++ because windows is created in C and few years later C++ came... and when some guy made .net then all the other languages came like VB2003/2005/2008 C# and some others...

 

C and C++ don't require .net but you can say ofcourse if you want to use .net framework in a C or C++ program

but my experience from C++ is that you can do whatever you want anyway im mostly just doing stuff in DirectX9, Api-hooking etc (some advanced stuff)

I don't think u can do that in C# and i dont think C# and change the PE Header and making sections/encryptions in the PE Header :)

You know dh, with statements like that.. you show how much your really know. I mean, its nice to see you do things and all, but when you write stuff like "C# can't be newer then C++ because windows is created in C", i just cant help to feel a bit sorry for you lol.. sure i understand you feel a need to show.. that you know something and its true that i use a new name, but dont take it personally.. no way a nab like you can correct me on C.. rofl.

 

here.. first link on google: http://msdn.microsoft.com/en-us/magazine/cc301505.aspx

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.