It's been a long time since I was a programmer. I'm taking an intro to c++ and everyone else in the class is on Windows. I'm on a Mac. I've been using an editor and the command line (in Terminal) g++ compiler.
It's been working fine. However, the professor wants me to use Visual Studio. I downloaded it and installed it on my Mac. So far so good. When I try to create a c++ project/program it only gives me the option of creating c# programs, at least it doesn't give a c++ option.
Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications. Click the button to download the latest version of Visual Studio 2017 for Mac. For instructions on setup and install, see the Setup and Install Visual Studio for Mac documentation. To learn more about Visual Studio 2017 for Mac, see Mac System Requirements and Mac Platform Targeting.
Visual Studio For Mac Build For Windows
So, how can I write and run c++ programs on Visual Studio on a Mac? Hi OrchestraMusic, Welcome to the MSDN forum. Now we have two Visual Studio versions (Visual Studio for Mac, Visual Studio Code) that can directly install on the Mac (macOS), refer to your description, it looks like you installed the Visual Studio for Mac, it is a developer environment optimized for building mobile and cloud apps with Xamarin and.NET. There has no option to create C++ project in this version and some other community members reported this suggestion to the Visual Studio Product Team, please check this: and you can vote it, then waiting for the feedback from the Visual Studio Product Team. >> So, how can I write and run c++ programs on Visual Studio on a Mac? As far as I know, there have two options as below: • Install and C/C++ build tools, please have a look at blog: • Create a VM that OS is windows, then install the and choose the option C++ to install during the VS installation If you just want a lightweight tool to edit your C++ files, VS Code has you covered but if you want the best possible experience for your existing Visual C++ projects or debugging on Windows, we recommend you use a version of Visual Studio such as. Best regards, Sara MSDN Community Support Please remember to click 'Mark as Answer' the responses that resolved your issue, and to click 'Unmark as Answer' if not.