Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
C++ vs C# (OTHER SITUATIONS)?
Im planning to focus on studying c++ but i've found out that you can easily find a job with c#. its also the default language to develop windows 8 apps and if im going to study server side programming, i dont need to learn another language again. what is the main reasons to ignore these and continue on c++?
4 Answers
- AnalProgrammerLv 78 years agoFavorite Answer
The only reason would be that you are limiting yourself to Windows O/S.
You will have no scope to change to another O/S.
Have fun.
- icefyreLv 58 years ago
C# is rarely used for server programming, it is usually used to make client-side software and user interfaces for Web apps. It is much more akin to Java than C++ though Java is the language preferred by the enterprise for server programming. The truth is, you need to decide what sort of programming interests you and unless the answer is game programming or high performance systems programming you shouldn't really be using C++. C++ is required for those two catagories due to the level of exposure to the hardware and memory that it gives you. It is required for any seriously optimized software (e.g. high speed trading engines, building a 3d engine etc...)
However, for most software developed today you would be able to produce much faster and more stable results using a different language. For web programming you would be able to produce web apps MUCH quicker using php, ruby or python than using C++. For enterprise server and application programming you would be much better served learning Java. For client side application programming, C# is quite popular. For server administration scripts, perl or python are really good choices.
C++ is very powerful but the standard library is abysmal, you need to be very careful with memory management, text parsing will make you want to cry and to do basic things like GUIs, multithreading, database communication, markup language parsing etc... you will need to turn to third party libraries and different shops will be using different libraries which will require you to learn them. It also usually takes a LOT more code in C++ to do things that can be accomplished more easily and with far less code in a language like Java or Python. (the code will also usually look a lot more obscure). I'd recommend learning at least Java and a scripting language like Python/perl, it will make you more marketable and will let you produce working applications much quicker. Your knowledge of C++ will allow you to pick up and effectively use either of those languages in about two weeks.
Hope this helps1
- Anonymous8 years ago
Learning to program c++ without a super-good IDE will help you to better understand programming. C# and Java are super easy to program in, but they don't feel as difficult as c++. Sometimes C# just works, but I don't completely understand why.
With C#, when I make a GUI I just drag and drop, then add click listeners to listen for mouse clicks.
When I programmed a GUI in c++ I had to make images in GIMP and then make functions to listen for clicks, then to check where those clicks were and add them into a buffer. Then I'd send the main process through a processClicks() function which would check which button was clicked by what area was clicked. It was a lot more complicated than programming in C# or Java, but it really helped me to understand how the code actually works