Home Common Problem How 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;
}
Copy after login

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 of this Website
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

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1665
14
PHP Tutorial
1270
29
C# Tutorial
1249
24