0

Сreate the Project in Visual Studio, then the Solution, but there is no code inside :)

I understand that when creating in Solution there is no code, but I would like to learn how to make it so that there is already minimal code, like Code Playground by SoloLearn. If you create New Code C++, inside already: #include <iostream> using namespace std; int main() { return 0; } How can I do the same in Visual Studio? Thanks for the answer

24th Dec 2019, 5:05 AM
Alen Inal-Ipa
Alen Inal-Ipa - avatar
1 Odpowiedź
0
Hello, I didn't touch VS in a while, but maybe you're just not adding exactly C++ app? As I remember, upon creating C++ console app, code similar to what you mentioned (and with stdafx.h) is placed.
24th Dec 2019, 11:11 AM
Randych
Randych - avatar