"New" in the menu bar. 2. Select "Win32 Console Application". 3. Select "An Empty Project". Then click "File" --> "New". Then select "C++ Source File". 4. Now you can write the code"/> "New" in the menu bar. 2. Select "Win32 Console Application". 3. Select "An Empty Project". Then click "File" --> "New". Then select "C++ Source File". 4. Now you can write the code">
search
HomeCommon ProblemHow to use vc6.0

How to use vc6.0

Jul 26, 2019 am 09:15 AM

How to use vc6.0

Recommended tutorial: FAQ

1, Open VC 6.0, press "File" --> "New" in the menu bar in the upper left corner to open the following interface

How to use vc6.0

2. The list on the left Select "Win32 Console Application", which is the win32 console project. The console is similar to the cmd window in windows. Just start programming and select to create this project. Enter the project name on the right, I enter "FirstProgram" here, and select a folder to store the project. If it is not placed in the default path, click the button that says "..." on the right, and then automatically Define the selection path. The path I chose is F:\Cpp.

3. Then click OK, select "An Empty Project" in the dialog box that appears next, click Finish, and click " Sure".

4. At this time, an empty project is created, and our source code files will be included in this project. We now start to create the source code file. Click "File" in the upper left corner of the software-->"New", and then the dialog box we just saw will appear. First select "File" in the tab above, Then select "C Source File" in the list below, enter hello.cpp as the file name, and click "OK".

5. After confirmation, the blank hello.cpp file will automatically open in the editing area on the right, and the organizational structure of the entire project can also be seen in the work area on the left.

6. Next We write a simple program to display "hello world!" on the screen. The most classic program is

#include<iostream>
using namespace std;
int main()
{
cout<<"hello world!\n";
return 0;
}

7. Then press the button above the editing area to compile and link, and then execute , as shown in the figure below

How to use vc6.0

8. The execution result is as shown in the figure below, a small program we wrote in vc 6.0 was executed successfully

How to use vc6.0

The above is the detailed content of How to use vc6.0. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor