|
| 05 Feb 2015 11:28 AM |
| Which is better of the two to use on possible Windows Applications |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 05 Feb 2015 11:53 AM |
C# because it's easier and has more features
plus the number of assemblies you have for it :D |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 11:57 AM |
| Why not just learn C? Then learning all the C languages will be a piece of cake! |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 05 Feb 2015 11:59 AM |
| Wrong. C# is so unlike C (the only thing similar is parts of the syntax, to be honest.) so learning it won't really help. |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 11:59 AM |
| C++ is probably much more powerful, however, it is the syntax which should be the deciding factor. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 05 Feb 2015 12:02 PM |
C++ is only 'much more powerful' due to the fact that it has pointers, which may not even be useful depending on what you're doing.
C# has events, garbage collection, simple polymorphism, interfaces, reflection and no need to recompile for different platforms. |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 12:10 PM |
C#?
I was planning on making Roblox stuff and wanted to see which is better of the two :)
Thank you |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 12:11 PM |
| C++ You can even make pro Lang from it |
|
|
| Report Abuse |
|
|
| |
|
Axstin
|
  |
| Joined: 08 May 2014 |
| Total Posts: 18 |
|
| |
|
gskw
|
  |
| Joined: 05 Jan 2013 |
| Total Posts: 1364 |
|
|
| 05 Feb 2015 01:16 PM |
I personally have been using C++ and am happy with it. If you want a challenge or like to do stuff exactly the way you like, go for C++. Otherwise, go for C#. I hope that made sense... |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 01:29 PM |
| C# is better, because you can use it in Unity. You can use C++ on the Unreal engine but unity is better. I would suggest C#. |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 03:21 PM |
c++ is hot cuz it has pointers
in lua, you'd modify a number like this:
function increase(x) x = x + 1 return x end
local n = 0 n = increase(n) n = increase(n) print(n) --> 2
in c++ you can manipulate n using a pointer
void increase(int *x) { *x = *x + 1; }
int main() { int n = 0; increase(&n); std::cout << n << std::endl; return 0; } |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 03:21 PM |
| i forgot to mention; in the c++ code it would print '1' |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 03:21 PM |
I personally think C# is better, and I think Unity is eew.
"I like to program." - Bosswalrus |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 03:30 PM |
@Sky You can make a programing language out of any language. There are two things: Lexing and the Interpreter.
Lexing compile it down into a call stack, and the interpreter executes it.
Scripting is without lexing. |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 05 Feb 2015 03:40 PM |
| @Forever: Why would you want to do to that though? I prefer Haskell where data is immutable - there aren't any variables. |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2015 06:08 PM |
@droid
that was just a simple example, but it can be very useful when it comes to manipulations classes and such |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 05 Feb 2015 06:11 PM |
'You can make a programing language out of any language.' CSS pls :) |
|
|
| Report Abuse |
|
|