class
-
So I have been working on teaching myself XNA game programming using C#. Next quarter I have a free space in my schedule finally and was considering taking a programming class. My school doesn't offer C# so my question is would java or C++ be more help for me when it comes to c# programming? Hope that makes sense.
-
So I have been working on teaching myself XNA game programming using C#. Next quarter I have a free space in my schedule finally and was considering taking a programming class. My school doesn't offer C# so my question is would java or C++ be more help for me when it comes to c# programming? Hope that makes sense.
Hi, Java and C# are very similar languages. I had several years of Java experience when I switched to C#, where the new things were merely .NET related (that is the base classes, as used in C#, VB.NET and C++/CLI but not in unmanaged C++). :)
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.
-
So I have been working on teaching myself XNA game programming using C#. Next quarter I have a free space in my schedule finally and was considering taking a programming class. My school doesn't offer C# so my question is would java or C++ be more help for me when it comes to c# programming? Hope that makes sense.
keisal wrote:
would java or C++ be more help for me when it comes to c# programming?
Either is fine. I knew both before I tried C#, and when I self taught C#, because of my C++ and Java background, it was easy.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
-
So I have been working on teaching myself XNA game programming using C#. Next quarter I have a free space in my schedule finally and was considering taking a programming class. My school doesn't offer C# so my question is would java or C++ be more help for me when it comes to c# programming? Hope that makes sense.
I'll 3rd that. Coming from Java, there really wasn't much to learn. It was a really smooth transition. Of course things have changed some since then, but I think you'll have a similar experience. I don't know much C++, but I'm sure Java is most like C#. Interfaces, single inheritance, etc...
Try code model generation tools at BoneSoft.com.
-
So I have been working on teaching myself XNA game programming using C#. Next quarter I have a free space in my schedule finally and was considering taking a programming class. My school doesn't offer C# so my question is would java or C++ be more help for me when it comes to c# programming? Hope that makes sense.
If you're already reasonably confident in the basics of C# I'd suggest C++. As others have said, if you're a total novice in C#, knowing some Java really helps get you started. Personally, I'd been using Java, PHP and VB/VB.net and I found the transition fairly smooth. I'd tried C++ with very limited success and always filed it as one of those things that 'I really should learn properly one day'. Now, having used C# for a while, I'm sure I'd be much more confident with and knowlegeable about C++ if i ever find the need, as C# can do pretty much everything I want. So (I think) it comes dowwn to how advanced you feel you are in C#. An early learner - probably do the Java. Confident/fairly experienced in C# - probably do C++. Just my 2c. Good luck with which ever you choose (or do them both if you have the time and can handle it!?!). Dave
-
So I have been working on teaching myself XNA game programming using C#. Next quarter I have a free space in my schedule finally and was considering taking a programming class. My school doesn't offer C# so my question is would java or C++ be more help for me when it comes to c# programming? Hope that makes sense.
I'd take the C++ class over the Java based one. Nothing is better than learning the master of all language. If you fully understand C# syntax (then to some extent you know simple C syntax) then I'd go and learn the C++. Nothing is better than fully understanding C++. If you do then you can write C++ in any programming language, now and into the future. The hard part of switch to C++ syntax from a C# style is the operators used. this->setColor(red,green,blue); instead of this.setColor(red,green,blue); This is the same when switching from C# (or C++) to php or something with similar syntax.
-Spacix All your skynet questions[^] belong to solved
-
So I have been working on teaching myself XNA game programming using C#. Next quarter I have a free space in my schedule finally and was considering taking a programming class. My school doesn't offer C# so my question is would java or C++ be more help for me when it comes to c# programming? Hope that makes sense.
C# is based mostly on C++, Pascal and Java. It's a lot of C++ syntax, but without the need to mess with pointers. It's object oriented like Java. It's strictly typed like Pascal (and Java). I think that you should choose your class depending on where you feel that your weaknesses are. If you want to learn about object orientation you should choose Java, if you like to learn about what really happens with bytes and references you should choose C++.
Experience is the sum of all the mistakes you have done.