i have a question about C++ in visual studio 2015 for my final semester assignment from my lecturer.
here... i was ordered to make reversi game a.k.a othello by using C++ as compiler and i used it in newest version of visual studio, actualy version 2015 (CMIIW).i did not make it in console but in openGL. and i got stucked in the first step
i didn't know how to make a new project so it has executable extension, according to my reverence that i found in google, there was somebody who made the same game in openGL, but he has executable extension, dsp, and dsw beside .h and .cpp extension
so guys that is, i hope for explanation from you all so i can finish this assigment as fast as the deadline :)) LOL
much thank you before for the attention and the explanation
dsw and dsp are the Visual Studio workspace and project files, respectively. They're the files saved by Visual Studio that specify which source files are used to build the application, what compiler options and linker options are used to build the application, and other configuration information. You use those files to build the exe.
If you want your project to build an exe, then you need to make sure the project settings specify that. But I think that's the default setting. When you create a new project, then it should already be configured to build an executable (as opposed to a DLL, or a static library, or whatever).
Personally, I usually choose "Empty project", but then I'm usually writing cross-platform software, so I don't want the Windows-specific boilerplate that comes from the other project types.
It all depends what you want to write. It sounds like you want to make an application with a windowed GUI, so you wouldn't want "Win32 Console Application".
dsw and dsp are the Visual Studio workspace and project files, respectively.
.dsp and .dsw files show up in Windows Explorer listed as Visual C++ 6 project and workspace files, when VS 2015 is installed.
You can open the files in VS 2015 (File > Open > Project/Solution). VS will do an upgrade to the settings in the files to VS 2015 compatibility standards, creating new .sln (Solution) and .vcxproj (VC++ Project) files.