plz PROGRAMMERS

Dave

Joined Nov 17, 2003
6,969
Sorry, but I programme in neither C# or C++, so my advice would not be sound.

My only suggestion would be have a look at a general comparative search of C++ and C# and see which appears to meet your requirements better.

I tend to know more people who programme in C++ than C#, however that doesn't mean it is better. I can't say more than that.

Dave
 

CVMichael

Joined Aug 3, 2007
421
Well, if you want to learn programming in general, you should learn C#... but you want to learn programming for making robots, that's a diferent story....

For making robots you need to program microcontrollers, and that is done in assembly, C, basic.

But if you want to interface the robot with a computer, then you can do your programming in C# (or others like C/C++, Visual Basic 6, or VB.NET, etc.)

Also, C# is a .NET language, and you need the CLR (Common Language Runtime) same as VB.NET, though I don't know for sure, but I really don't think that you can use that to program microcontrollers.

So... in short, I think it is best to learn C/C++ because you can program microcontrollers AND in windows/linux/mac (whatever you are using).

C/C++ is the most popular programming language of all...

And on top of that C++ syntax is simmilar to C#, so if later on you decide to learn C#, it will be easy...
 

Mark44

Joined Nov 26, 2007
628
Well, if you want to learn programming in general, you should learn C#... but you want to learn programming for making robots, that's a diferent story....

For making robots you need to program microcontrollers, and that is done in assembly, C, basic.

But if you want to interface the robot with a computer, then you can do your programming in C# (or others like C/C++, Visual Basic 6, or VB.NET, etc.)

Also, C# is a .NET language, and you need the CLR (Common Language Runtime) same as VB.NET, though I don't know for sure, but I really don't think that you can use that to program microcontrollers.

So... in short, I think it is best to learn C/C++ because you can program microcontrollers AND in windows/linux/mac (whatever you are using).

C/C++ is the most popular programming language of all...

And on top of that C++ syntax is simmilar to C#, so if later on you decide to learn C#, it will be easy...
Yes, C# is a .NET language that requires the CLR. You could use C# to develop a user interface, but to write code that runs on a microcontroller, you'll need C or C++ or whatever assembly language is relevant to the microcontroller.
Mark
 
Top