Bogdan 2015 年 6 月 24 日 上午 6:27
C++ or C#?
Ok so I heard that C# is somewhat an easier version of C++ even though what you can make in C# is completley different from C++.

I already started learning a bit of C#, but I don't know really which one does stuff better.

What's good for making robots (virtual or real)?

What's good for making HL2 mods or stuff like that?

Which one is the most fun to learn?

Which one has the most potential ( by that I mean the number of things you can create )?


I know I should have gone to a programming site or something like that to ask this but I thought asking it on steam would be funnier .:3
< >
目前顯示第 1-15 則留言,共 36
Lycairin 2015 年 6 月 24 日 上午 6:31 
You should have known better and go to a programming site than here, trolls are coming
Bogdan 2015 年 6 月 24 日 上午 6:32 
引用自 Lycairin
You should have known better and go to a programming site than here, trolls are coming
That's why I thought it would be funnier. I bet there's atleast one guy that will give a serious reply anyways.
Enkill_Eridos 2015 年 6 月 24 日 上午 6:41 
If I were you I would learn both. Unix was an OS developed around the C programming language. Some Linux distros were developed with C++. C# is a microsoft language.

It really depends on what kind of game you want to make. C# has some excellent game development tools that are cross OS capable.

https://monogame.codeplex.com/

monogame is a project that started after Microsoft abandoned XNA. I think it is based off the XNA 5.0 but I forget if it is or not. But if you want to make games with C# I would suggest doing that. XNA was the way you could make Xbox 360 games (with Gold Xbox Live membership) on your computer and transfer it on the console. Xbox One does NOT have something similar as far as I know. I maybe wrong, I am just a hobbist game dev not a commercial one.

My suggestion though is to learn as many programming languages as you can. C# allows for you to use C++ and other code within the C# code. C++ is the programming language of choice for commercial game devs and there are a plethora of C++ libraries and code snippets than there is for C#.

Hope this helps have fun coding!
Bogdan 2015 年 6 月 24 日 上午 6:46 
引用自 DoD enki_eridos
If I were you I would learn both. Unix was an OS developed around the C programming language. Some Linux distros were developed with C++. C# is a microsoft language.

It really depends on what kind of game you want to make. C# has some excellent game development tools that are cross OS capable.

https://monogame.codeplex.com/

monogame is a project that started after Microsoft abandoned XNA. I think it is based off the XNA 5.0 but I forget if it is or not. But if you want to make games with C# I would suggest doing that. XNA was the way you could make Xbox 360 games (with Gold Xbox Live membership) on your computer and transfer it on the console. Xbox One does NOT have something similar as far as I know. I maybe wrong, I am just a hobbist game dev not a commercial one.

My suggestion though is to learn as many programming languages as you can. C# allows for you to use C++ and other code within the C# code. C++ is the programming language of choice for commercial game devs and there are a plethora of C++ libraries and code snippets than there is for C#.

Hope this helps have fun coding!

Best reply ever, thanks!
I'm not really trying to create standalone games, I think it would just take too much time and the outcome would just be very bad(probably because I'm not very good at C#). But I see alot of Half Life 2 mods that have alot of success. Garry's Mod started as something very boring and bad, but it got updated more and more until it becamse the most popular Half Life 2 mod.

But who knows, C++ and C# combined can probably make really good games.

EDIT: Apperently the first Counter Strike was made almost completley in C++. That's really awesome.
最後修改者:Bogdan; 2015 年 6 月 24 日 上午 6:47
Paintbrush Poltergeist 2015 年 6 月 24 日 上午 7:00 
I used C# in most of my software dev. But I dislike programming, so you can probably ignore this.
76561198187492513 2015 年 6 月 24 日 上午 7:07 
C++
Lord Ptolemy 2015 年 6 月 24 日 上午 8:25 
C++ is the main language used by commercial game developers. If you want to join one when you have more experience then I highly suggest you learn that instead. The down side is that many consider it one of the hardest to learn.

- Most AIs are built with C++ as far as I know.
- Source Engine uses C++
- I wouldn't really know, but C++ gives you more control over everything
- C++ for a commercial career
最後修改者:Lord Ptolemy; 2015 年 6 月 24 日 上午 8:30
hjndtjtdf jurfk 2015 年 6 月 24 日 上午 9:23 
c++
Dusk of Oolacile 2015 年 6 月 24 日 上午 10:46 
Both C++ and C# suck, the only real programming language is this one: https://en.wikipedia.org/wiki/LOLCODE
Bogdan 2015 年 6 月 24 日 上午 10:47 
引用自 LOLCAT
Both C++ and C# suck, the only real programming language is this one: https://en.wikipedia.org/wiki/LOLCODE
That seems about right.
Lord Ptolemy 2015 年 6 月 24 日 上午 10:54 
引用自 LOLCAT
Both C++ and C# suck, the only real programming language is this one: https://en.wikipedia.org/wiki/LOLCODE
I think I need to go bash my head against a hard object after reading some of that.
Marioalexsan 2015 年 6 月 24 日 上午 11:12 
引用自 | BP | Lord Ptolemy
引用自 LOLCAT
Both C++ and C# suck, the only real programming language is this one: https://en.wikipedia.org/wiki/LOLCODE
I think I need to go bash my head against a hard object after reading some of that.
HAI
CAN HAS STDIO?
PLS OPEN FILE "input.txt"?
AWSUM TNX
VISIBLE File opened yay
O NOES
VISIBLE Your file got broken by lolcatz
KTNXBYE

I'm going to have LOLmares
Radical Left Lunatic 2015 年 6 月 24 日 上午 11:42 
Learn C++ first, if you can do C++ you basicly can do C# and java as well.I am not saying that you will know C# by knowing C++ i am just saying you can use C# if you know C++.Anyways C++ in general is good for making games for the more experienced programmer but unless you do some neat tricks with the memory C# will actually run faster.There are excellent ports for both DX and OpenGL for C# that operate at a pretty good speed.As a programmer i use C# for regular windows forms type applications becuase trying to do it in win32 using C++ is not worth the pain and tears, mostly becuase the whole GDI+ system has not been updated since the early 2000s and it has lots of issues and does not always work. In regards to robotic programming(I have some experience in the area programming our robotics teams robot in highschool using C) you will most likly want to be using C although curiously android(java,c++ ndk) is being used for robots as well mostly becuase android tablets and phones are cheap and make an excellent little computer for robots.
僕の名前 (仮) 2015 年 6 月 24 日 上午 11:45 
I heard games made on C++, not C#
Bogdan 2015 年 6 月 24 日 下午 12:12 
Ok, most of you either told me I should learn C++ instead of C# or both. Conclusion : I will learn C++ first because it seems like it has more advantages than C# when it comes to what I want to do.
Thanks everyone!
< >
目前顯示第 1-15 則留言,共 36
每頁顯示: 1530 50

張貼日期: 2015 年 6 月 24 日 上午 6:27
回覆: 36