Visual Studio 2015 Express for Windows 10

how to use the "normal" C++ code in visual studio 2015? i can't even hello-world-ing my computer -,-
closed account (E0p9LyTq)
Visual C++ has to be installed separately apparently, usually as a custom install.

I was able to install Visual C++ and also noticed that MFC was installed.

Doing a default install pushes C# and other MS-copyrighted stuff.
actually, there is visual C++ in visual studio 2015, but i don't know what type for console here.

http://i62.tinypic.com/vnilo9.jpg

and there's pch header at the beginning of the code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//
// pch.cpp
// Include the standard header and generate the precompiled header.
//

#include "pch.h"
#include <iostream>
using namespace std;

int main() {
	std::cout << "hello,world...!" << std::endl;
	std::cin.get();
	return 0;
}
Last edited on
i've downloaded redistributable package from here:

http://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe

but, looks like there's nothing with it...
Warning
In Visual Studio 2015, Visual C++ is not installed by default. When installing, be sure to choose Custom installation and then choose the C++ components you require.

Or, if Visual Studio is already installed, choose File | New | Project | C++ and you will be prompted to install the necessary components.

https://msdn.microsoft.com/en-us/library/60k1461a.aspx


Create a console application: http://www.cplusplus.com/doc/tutorial/introduction/visualstudio/
Last edited on
@borges: thx for the information, i'll install it
closed account (E0p9LyTq)
@chipp:

I downloaded the ISO of the entire package, not the Web installer setup.

https://www.visualstudio.com/downloads/download-visual-studio-vs

Under the "Visual Studio Downloads" header select "Visual Studio 2015" and then select Community 2015.

You get the option to download the web installer or the ISO. The ISO is 3.7GB in size.
Last edited on
Topic archived. No new replies allowed.