Advertisement

C++ and C#

Started by November 21, 2015 07:54 PM
14 comments, last by Kevin Paul Kurian 9 years ago

Ok Im now using Visual Studio with the visual C++ 2015 library.I believe it follows C++ 14 standards.Is this an acceptable set up to begin?

This is an excellent place to start, VS uis a very good IDE. Just by making a project you might be using c++14 but to be sure you can tell it what you want to use. Go to the project settings, then expand the c/c++ group and select language. In there will be an option c++ language standard, click that and you get a variety of options eg.e c++11, c++ 14 and older options.

Interested in Fractals? Check out my App, Fractal Scout, free on the Google Play store.

I haven't tested it but I'm pretty sure Visual Studio 2015 does not support the full C++14 standard yet. Microsoft takes their time to implement C++ standard, for whatever reason. There has been two Visual Studio released between the release of C++11 and their implementation of constexpr, a C++11 feature.

That being said, Visual Studio 2015 is likely the best IDE you can put your hands on, and it is by far the most used development environment in the game industry. In fact I'd say that for any language Visual Studio has first class support for (which means C++, C#, VB.NET, F# and TypeScript) it has become the de facto development tool. Microsoft has recently released Python tools for Visual Studio and I wouldn't be surprised to learn that it's now the best development experience for Python.

For the sake of objectivity, I'm not going to say it's flat-out better than another one, but umm... let's just say that as someone who is working exclusively on OS X, iOS and Linux these days, I really miss working with Visual Studio. sad.png

Advertisement

I haven't tested it but I'm pretty sure Visual Studio 2015 does not support the full C++14 standard yet. Microsoft takes their time to implement C++ standard, for whatever reason. There has been two Visual Studio released between the release of C++11 and their implementation of constexpr, a C++11 feature.

Of course the impending VS 2015 Update 1 will bring us a clang frontend bolted to a VC backend, and I'm very curious to see how that works out.


For the sake of objectivity, I'm not going to say it's flat-out better than another one, but umm... let's just say that as someone who is working exclusively on OS X, iOS and Linux these days, I really miss working with Visual Studio.

I want to take a crack at VS 2015's iOS support, too. Haven't had a chance to play with it yet.

SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

Learning both are noble goals and certainly worth doing.

However, IMHO...

For a beginner, learning C# then C++ will take a great deal less time than learning C++ then C#.

So... that's my answer i suppose.


For the sake of objectivity, I'm not going to say it's flat-out better than another one, but umm... let's just say that as someone who is working exclusively on OS X, iOS and Linux these days, I really miss working with Visual Studio

Screw objectivity... what I will say is...

Visual Studio is 1000x better than XCode. My god I hate XCode. It is just a terrible terrible terrible developer experience. If you are stuck on MacOS only and are working in C++, do yourself a favor and pick up CLion!

That all said, I am less and less impressed with Visual Studio with each release. Visual Studio 2015 just seems to be a massive mess at least for me. Buggy and problematic and far to often way too slow. It's about time for a ground up rewrite I think. That said, it's still 1000x better than XCode. Then again, typing your code one byte at a time using Morse code while being pierced by rusty spikes is better than XCode.

I did my first Hello World program on Visual Studio today and I was a little overwhelmed (This is embarrassing)
Since Im used to Turbo C++ all of this seems very new to me.Also while compiling I got a message stating : "Outdated Syntax".Hower the code itself had no errors and displayed the intended result.

The code I used was:

# include <iostream>
int main()
{
std::cout << "Game Over!!" << std::endl;
return 0;
}
1.I got this code from a book I had lying around called "Learning C++ through Games :THird Edition" by Michael Dawson which was meant for visual studio 2010.Is there a better updated source I can study from which employs exercises to teach? Bear in mind Id prefer something free since Im a student on a budget.
2.Visual Studio is completely new to me.Is there anything I can read to get a loose idea on what everything does?
3.Also I didnt get how to select the language standard in visual studio.Please give me step by step instructions to that end.

This topic is closed to new replies.

Advertisement