Can anyone help me (or point me to a tutorial) on how to start a project in Visual Studio. I understand compiling in C++, creating a "Make" file, including libraries, etc. But, how do I do all of that in Visual Studio? Microsoft's documentation has proven to be all-but-worthless. Online tutorials avoid the subject, with the disclaimer, "All compilers are different". I wish to create a Windows app (NOT a console app). I am looking for a step-by-step, from booting-up the program, to the point where I start typing code.
You have mentioned that you are using VS, but which version?
There is the VS 2015 Community, VS 2017 Community and VS 2019 Community. Then there is VS Code. All of these are what I am familiar with although I have not used VS 2019 or Code yet.
Furry Guy's link is useful, but may not be specific to what you are using or wanting to do.
My-self I use VS 2017 Community and at the moment do not have access to the VS 2015 that I have. The problem is that these two versions can not reside on the same computer at the same time. There is a conflict with the runtime file.
Let me know which version you are using and I will do what I can to help you.
Handy Andy, I am using the 2019 version. I just downloaded it.
As an extra question, does anyone know how to streamline VS, so that it will run faster. My older Win 7 laptop is having a bit of trouble with it. Perhaps an older version?
Thank you. I guess I should install 2019 just to see what it looks like.
Even with VS 2017 and my computer that is just over a year old many times I find the VS runs slow. And quite often showing me a message of "not responding" in the title bar.
I tend to think this is because of all the junk that has accumulated, all those programs always looking for updates and running in the background, then it does with VS. Then again I could be wrong.
VS 2017 has a very different look for creating new projects than VS 2019. VS 2019 also fixes a lot of issues even the most up-to-date VS 2017 has. One issue is being slooooooooow at times.
VS 2017 is going the way of VS 2015, no longer supported. VS 2019 overall has better C++ language support than VS 2017.
Unfortunately a laptop, especially an older one, likely doesn't have the "ooooomph" to run VS well. It requires a lot of resources. VS 2019 is more resource friendly than VS 2017. I have both installed.
A somewhat more lightweight IDE that might run better on that Win 7 laptop is Code::Blocks. http://www.codeblocks.org/
Thanks all. I've got it running now. The non-intuitive part was having to right-click the project tab, to create a source file. Not the best design idea.
VS is running a lot smoother now. It had been running slow, because it had just installed a large update. Once I rebooted the laptop though, VS ran much faster.