Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Coder's Corner Lounge (http://www.programmingforums.org/forum11.html)
-   -   C# vs C++ Career Move (http://www.programmingforums.org/showthread.php?t=14678)

Kuryn Dec 4th, 2007 12:25 AM

C# vs C++ Career Move
 
I was wondering which language would be best to use for a career move? C# or C++?:-O

Wizard1988 Dec 4th, 2007 12:42 AM

Re: C# vs C++ Career Move
 
Depends what will be doing. Will you be programming 3D games and such? then go with C++. Windows applications? then C#

Infinite Recursion Dec 4th, 2007 9:06 AM

Re: C# vs C++ Career Move
 
A few years ago I switched my focus from C/C++ to C#. Mainly because I switched gears to writing web-based applications and services. No regrets. However, if you can, it would be beneficial to know C++ AND C#.

Jimbo Dec 5th, 2007 12:44 AM

Re: C# vs C++ Career Move
 
Quote:

Originally Posted by Infinite Recursion (Post 138032)
However, if you can, it would be beneficial to know C++ AND C#.

++
It's probably not necessary to be an expert in both, but knowing how to use each and how some of the semantics are the same or different is probably useful. That said, focus on the language that gets you into the job you like more.

Kuryn Dec 5th, 2007 12:46 AM

Re: C# vs C++ Career Move
 
Well thats what i'm trying to do now. but at the same time I wanna use directx 10 to be a game programmer but at the same time stop worrying about MFC, WTL, Win32 C API, etc. But then again I wanna learn COM and Windows Shell programming. I'm so confused with what I wanna do :(

lectricpharaoh Dec 5th, 2007 1:09 AM

Re: C# vs C++ Career Move
 
Bear in mind that you can adopt C#, and still use C++ where the situation requires it. If you're wanting to write DirectX apps, remember that Managed DirectX is there, and constantly improving. For many games, it's fast enough, and it's a lot easier to learn than native DirectX. Don't forget that if there's something you want to do with the Win32 API in C#, but there's no direct support for it, you can use p/invoke to cross the managed/unmanaged code boundary (though there is a slight performance hit).

Kuryn Dec 5th, 2007 1:13 AM

Re: C# vs C++ Career Move
 
Quote:

Originally Posted by lectricpharaoh (Post 138112)
Bear in mind that you can adopt C#, and still use C++ where the situation requires it. If you're wanting to write DirectX apps, remember that Managed DirectX is there, and constantly improving. For many games, it's fast enough, and it's a lot easier to learn than native DirectX. Don't forget that if there's something you want to do with the Win32 API in C#, but there's no direct support for it, you can use p/invoke to cross the managed/unmanaged code boundary (though there is a slight performance hit).

MDX is gone from the SDK from the recent one. But meh I'll never get a job as a C++ game programmer. And C++/CLI isn't all that easy its even harder than native C++. I guess I will make my venture through the managed world and still use C++ when I need it. I just hope I didn't make the wrong choice down the line.

Wizard1988 Dec 5th, 2007 1:55 AM

Re: C# vs C++ Career Move
 
I believe MDX is now XNA.

lectricpharaoh Dec 5th, 2007 5:56 AM

Re: C# vs C++ Career Move
 
Yeah, what Wizard1988 said. XNA is essentially the next version of Managed DirectX.

King Dec 5th, 2007 6:12 PM

Re: C# vs C++ Career Move
 
Quote:

Originally Posted by Kuryn (Post 138115)
I guess I will make my venture through the managed world and still use C++ when I need it. I just hope I didn't make the wrong choice down the line.

It's not like you can't go back. My first job i was wring C# and for my job now I write code in C# and C++ (depending on the project). If you get a job in C# for a couple years, there is no reason you can't get a job in C++ after that. Most programmers are skilled in more than one language, and if not they can usually learn another language or brush up on there skills in another language quite quickly.


All times are GMT -5. The time now is 3:42 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC