Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 21-08-2006 , 11:28 AM
relikz's Avatar
Registered User
Join Date: Apr 2006
Posts: 157

c ++ or c#?

hey all u SMer programmers, i just want to ask if i wanted to create programs and 'game scripts' as well, which of these should i focus on?

could u tell me the purpose and diffrence between them?


~The Computer Is A Moron~
# 2 21-08-2006 , 11:45 AM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Well I think that a lot of programming is pretty much based on similar languages, for example I went from Delphi to C++ with verry little change.

My pref would be to go with C++ as theres a lot of support for it and its quite widely used

# 3 21-08-2006 , 11:47 AM
publicFunction's Avatar
Senior Software Developer
Join Date: Jan 2005
Location: Livingston, Scotland
Posts: 1,701
C++ is a low level programming language.
C# was created by MS to give the ease of VB and still have the majority of C++'s Low Level Access. So certain things still need C++ to do. Not being a C++ Programmer I cant go much further into it, but thats the basic difference between them.

Most production games engines are written with C++. Torque however is written/scripted with C#


Chris (formerly R@nSiD)
Twitter
When the power of love overcomes the love of power the world will truely know peace - Jimmy Hendrix
Winner SM VFX Challenge 1
3rd Place SM SteamPunk Challenge (May 2007)
# 4 21-08-2006 , 11:51 AM
relikz's Avatar
Registered User
Join Date: Apr 2006
Posts: 157
so could i still make apps using c++ of the same lvl of that if i would use c # (if in example i had the same skill lvl in both)?


~The Computer Is A Moron~
# 5 21-08-2006 , 11:53 AM
dragonfx's Avatar
Registered User
Join Date: Jul 2003
Posts: 1,257
java (on Eclipse IDE) or python...

If you REALLY need DX then C#, as you most probably will be a lone programmer, not having a team means you NEED to have any help you can get... plus DX10 looks like it will be completely managed so...

If you either have a team of programmers at your disposal or want to take advantage or copypaste existing code as is then go learning C++

# 6 21-08-2006 , 11:58 AM
dragonfx's Avatar
Registered User
Join Date: Jul 2003
Posts: 1,257

Originally posted by relikz
so could i still make apps using c++ of the same lvl of that if i would use c # (if in example i had the same skill lvl in both)?

your question makes more sense if you invert the terms... Anyways: in principle you COULD do everything on every of those languages... in the practice you will find some things are easyer or work better in ones than in others...

# 7 21-08-2006 , 12:04 PM
relikz's Avatar
Registered User
Join Date: Apr 2006
Posts: 157

Originally posted by dragonfx
your question makes more sense if you invert the terms... Anyways: in principle you COULD do everything on every of those languages... in the practice you will find some things are easyer or work better in ones than in others...

lol im sorry bout my grammar. Thanks for the info though.


~The Computer Is A Moron~
# 8 21-08-2006 , 12:17 PM
dragonfx's Avatar
Registered User
Join Date: Jul 2003
Posts: 1,257
lol its not about grammar police its more that the question makes more sense if you ask what you cant do in C# that you can in C++ than the reverse...

C# is a little less flexible and a little bit easyer to write, and code written on it should have less low level bugs. On the other hand C++ is a bit more demanding but if you know what youre doing should produce faster progams...

Short answer... LEARN JAVA. user added image

OR use the language most suited to your needs...


Last edited by dragonfx; 21-08-2006 at 12:21 PM.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off