Jump to content

[Programming]C++ vs C#


Emrys

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...