Tools, FAQ, Tutorials:
C++ Console Application with Visual Studio 2017
How to write a C++ console application with Visual Studio 2017?
✍: FYIcenter.com
A console application runs in a Windows command console without any graphical user interface.
You can follow tutorial to write your first new console application in C++ with Visual Studio 2017.
1. Start Visual Studio 2017 with Visual C++ development environment.
2. Click "File > New > Project" menu.
3. Select the project type as "Win32 Console Application",
4. Enter the following project name and location:
Name: Hello-Project Location: c:\fyicenter\vc2017\Projects Solution name: Hello-Solution
5. Click "OK" and follow the Win32 Application Wizard to finish creating the project.
6. Enter the following C++ code in the Hello-Project.cpp file created by Visual Studio.
// Hello-Project.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
⇒ Visual Studio Error: Windows SDK Version 8.1 not Found
⇐ Create C++ Project with Visual Studio 2017
2023-12-01, ∼3277🔥, 0💬
Popular Posts:
How to Build my "sleep" Docker image from the Alpine image? I want the container to sleep for 10 hou...
What is EPUB 3.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 3.0 Metadata "dc:publisher" ...
Can Multiple Paragraphs Be Included in a List Item? Yes. You can include multiple paragraphs in a si...
How to start Docker Daemon, "dockerd", on CentOS systems? If you have installed Docker on your CentO...
How to how to use matched string and groups in replacements with re.sub()? When calling the re.sub()...