Click to See Complete Forum and Search --> : C# compared to C++


Geralds Mod
March 14th, 2008, 07:42 PM
Next year (in 10th grade) I'm taking computer programming.
They are going to teach us C# and Visual basic.
Right now all I know is C++ and a good amount of it.

I'm wondering, how close is C# compared to C++?
If I'm good with C++ will C# be easy to move to?

Also, our school uses Windows (stupid) but I use Ubuntu Linux at my house.
Is C# available to Linux?
If so, would it be any different than programming on windows?

Thanks for your time.

MadHatter
March 14th, 2008, 08:58 PM
C# is a easy transition from C++. its easy to use like java, but allows you to get down and dirty if you need to (which doesn't usually happen).

google mono and portable dotnet. they are platform independent distributions of the .net spec and run on both windows and linux, though you loose some of the nativeness of .net on windows.

also check out icsharpcode.net and go to their #develop IDE. its similar to visual studio and will run under linux. there are some other variants of #develop that you can use (like mono develop, but #Develop is better).

Mutant_Fruit
March 14th, 2008, 09:33 PM
also check out icsharpcode.net and go to their #develop IDE. its similar to visual studio and will run under linux. there are some other variants of #develop that you can use (like mono develop, but #Develop is better).
SharpDevelop doesn't run on linux. It P/Invokes a butt-load of native libraries and is fairly unportable.


Supported operating systems: Windows XP SP2 and later (eg Windows Server 2008 and Windows Vista)


If you want a Linux compatible IDE, you'll need MonoDevelop, which just hit it's 1.0 release. http://www.monodevelop.com/MonoDevelop_1.0_Released

MadHatter
March 14th, 2008, 10:33 PM
doh!

Guess thats what I get for not using Linux as my primary OS since linux 2.2.

I think I heard gnome uses mono now. is that right? pretty cool if so.

code?
March 15th, 2008, 01:36 PM
Next year (in 10th grade) I'm taking computer programming.
They are going to teach us C# and Visual basic.
Right now all I know is C++ and a good amount of it.

I'm wondering, how close is C# compared to C++?
If I'm good with C++ will C# be easy to move to?

Also, our school uses Windows (stupid) but I use Ubuntu Linux at my house.
Is C# available to Linux?
If so, would it be any different than programming on windows?

Thanks for your time.

It's typically easier to understand whats going on or what it's going to do within the code.