Can't find template for C++ in Visual Studio 2015 - c++

I bought a new laptop and Visual Studio was already installed in it, I want to write programs in C++ in Visual Studio 2015, but I could not find the template for C++. There are blank templates available for different languages but not for C++. Please help me out.

Visual Studio works with a lot of languages. There are a lot of version Of VS too. So:
Click Start, click Control Panel, and then click Programs, Click Programs and Features and then select the Visual Studio Edition. Click Uninstall/Change. In the setup wizard, select Modify and then click Next. Select C++ in list of languages.
OR
Go to Microsoft and download Community version of Visual C++ (MS)

Related

Visual Studio 2015 failed to create and edit c++ projects

I have a trouble with C++ projects in Visual Studio 2015 Community Edition.
First of all I cannot create new c++ project (simple console application). When I click on "OK" button in "New Project" wizard the window hide and show up again. (Nothing happened)
Second problem. When I open existing project and try to edit C++ setting I only see "Configuration Properties".
I've already tried "Repair" in VS2015 intaller and it doesn't help. Can anyone help me?
According the official site, this is a ugly and strange bug of some VS updates:
https://msdn.microsoft.com/en-us/vs-knownissues/vs2015-update3
In some cases, applying Updates to VS 2015 can cause the optional feature selections for Visual C++ (e.g. Common Tools for Visual C++ 2015) to become deselected and uninstalled. This issue can be resolved by re-selecting the required Visual C++ features in the Visual Studio 2015 setup dialog.
In "Programs and Features" (Add/Remove Programs), select "Microsoft Visual Studio 2015", then click "Change".
In the Visual Studio setup dialog, click "Modify"
Select/check "Programming Languages->Visual C++->Common Tools for Visual C++ 2015" and other features under "Programming Languages->Visual C++", as appropriate.
Click "UPDATE".

Where is the place to add c++ Preprocessor Directives in Visual Studio 2015 Enterprise?

I saw questions similar to this for older versions of Visual Studio but not this latest version. I am following a course on Lynda.com and basically the instructor is trying to use C++ in a pure form that will look the same for students using a visual IDE on Mac. Anyway, the instructor sets up a Working project for teaching the language constructs and such. He right clicks on the project in Visual Studio and under C++ there is Pre-processor section.
I should note that he is using VS 2013 Community Edition. I have a more fully featured version of VS 2015. I don't see that option for defining pre-processor directives on a "project" basis. MS won't let me install 2 copies of VS 2015, but maybe it will let me install VS 2013.
Still, I hope my question makes enough sense as to what we are trying to accomplish, so that I can find the option in VS 2015 Enterprise.
Thanks,
Bruce
You would need to at least add a .cpp file to your Source Files folder in the the current project that you right will click. That should give you the option you are looking for in Visual Studio 2015.
Right click on your project. Select Properties. You should see the below menu where you can navigate to Configuration Properties > C/C++ > Preprocessor.
This is how I see it in my Visual Studio Enterprise 2015.
Is this what you're looking for?

Word (Office) Automation Visual Studio 2013 C++

I have to make a program which can operate with Word documents (edit, view, create) and use C++ with Visual Studio 2013.
I have searched the net and found out VSTO is only available for Visual Basic and C#.
On the Microsoft site there is "How to create an automation project using MFC and a type library" here but seems it is written for very old versions of Visual Studio (like 5.0 and 6.0). When I reach the ninth step "Select the Automation tab." it seems there is no such tab in ClassWizzard in my version of Visual Studio.
Is there any way to perform automation with C++ in newer versions of Visual Studio like 2013?
I found a way here. Actually I am using the "import" method and it worked for me in console mode(COM method also worked, but it seems to me more complicated), I haven`t tested it for GUI yet. There is not C++ documentation, but can be used Visual Basic API with a bit thinking here.

Visual Studio 2015: Can't create a new empty project c++

I recently got the new version of Visual Studio and I can't seem to find how to create an empty project for C++. The options seem to be only C# and Basic.
The default (typical) installation of Visual Studio 2015 no longer contains the C++ compiler and tools. This was a very popular ask from the community as many developers do not want the footprint C++ brings.
If you go and try to uninstall Visual Studio 2015, the installer screen will pop up and you'll see a button named "Modify". This will change your current installation. Do a custom install and pick the C++ features / libraries that you require.
As far as I know, most editions have C++ support, including Express for Windows, Express for Desktop and the popular Community edition.
Try to open VS with Admin's rights. I tried it, and it works!

Visual Studio 2008 C++ language support?

I've been developing a couple of C# tools recently, but primarily working with a lot of legacy Visual Basic 6.0 code (I know, I know...). For the C# development, I've been using Visual Studio 2008 Professional edition that I downloaded using our MSDN subscription here at work.
But, as a change of pace over the weekend, I was going to check out a complex C++ project that we have. However, when I went to open it through Visual Studio, it wouldn't open it saying that the .vcproj file type wasn't supported. I figured it was a compatibility issue and that the project file type had changed between versions of Visual Studio, but when I tried creating a new C++ application inside Visual Studio 2008 Pro, the option just wasn't there.
I've been searching online by way of Bing, Google, MSDN, and MSDN subscriber downloads to no avail. Nothing I've found so far explains why this is happening.
I have found the express edition of MS Visual C++ 2008, but I could not locate the "full version" of this part of Visual Studio.
Any help would be much appreciated.
It sounds like you haven't got it installed.
Go to Add/Remove Programs (or Programs and Features, or whatever Windows 7 calls it) and modify your installation. You'll get a list of checkboxes so you can install C#, VB.NET, Crystal Reports etc... and Visual C++. Check that checkbox and wait the hour or so for the installer to do its stuff.