What project template should I use for a Visual C ++ development project?

What project template should I use for a Visual C ++ development project? I'm really new to Visual Studio, and I'm a little confused with all of these Windows Form applications, Win32 console application, CLR console application, etc. I previously coded games on Linux, and now I would like to make a clean Windows application.

+4
source share
4 answers

You can simply open an empty project in Visual C ++ projects. I have no libraries, etc. which you will use. I doubt that you are following the .NET path, you definitely do not want CLR-based applications to be in this case.

+3
source

The easiest way is to really use the Empty Project option and set the settings yourself.

If you want the initial application to use the Win32 project, but not the Win32 console application, since it will create a console window for you when you start it, and this is not desirable.

If you want to engage in game development using the XNA toolkit, then it has its own project parameters, but for this you will use C #, not C ++.

+3
source

The easiest way is to use the Win32 console application. You can use GLUT for rendering.

I would recommend the FreeGLUT library for rendering.

http://freeglut.sourceforge.net/ - a fairly simple setup in Visual Studio

http://www.lighthouse3d.com/opengl/glut/ - step-by-step instructions for using glut.

+2
source

I myself use an empty project template for most projects, including games. Causes?

  • More control
  • Easy integration
  • No extra material added.

Downsides:

  • You can write more code (or reuse already written code)
  • You care a little about internal functions
+2
source

All Articles