1 / 12

컴퓨터의 기초 MS Visual C++ Tutorial

컴퓨터의 기초 MS Visual C++ Tutorial. 2006. 3. 13 MASSLAB 김진철. Overview. How to use C/C++ compiler Creating a new visual C++ 6.0 project Creating a new program in an existing project Compiling and running your project Opening an existing project in your workspace Q&A.

Download Presentation

컴퓨터의 기초 MS Visual C++ Tutorial

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 컴퓨터의 기초MS Visual C++ Tutorial 2006. 3. 13 MASSLAB 김진철

  2. Overview • How to use C/C++ compiler • Creating a new visual C++ 6.0 project • Creating a new program in an existing project • Compiling and running your project • Opening an existing project in your workspace • Q&A * Visual Studio C++ 6.0 is used in the slide. Currently Visual Studio .Net is available.

  3. Creating a new visual C++ 6.0 project Choose File/New

  4. Creating a new visual C++ 6.0 project 1. Select Projects tab Enter the name of your project. Select the directory in which you want your project created. This should be selected. The platform should be Win32 2. Select Win32 Console Application

  5. Creating a new visual C++ 6.0 project Choose Empty Project.

  6. Creating a new program in an existing project Choose File/New

  7. Creating a new program in an existing project 1. Select Files tab Be sure the proejct nameis the name of the current project. Enter the name of your source file. Note :In this class, file extension should be declared a "c" Be sure the saving location is correct. Choose C++ Source File

  8. Creating a new program in an existing project Enter your C source code into this window When you are finished writing your code, choose : File/Save

  9. Compiling and running your project choose : Build/Build xxx Or Build/Rebuild All

  10. Compiling and running your project If it compiles and links successfully, the window at the bottom of your screen will display 0 error(s), 0 warning(s)

  11. Compiling and running your project The following output window should be displayed. When I press any key, the window will be taken down and the program will stop. Choose : Build/Execute CTestProject1.exe

  12. Opening an existing project in your workspace Find your old workspace. “CTestProject1" folder, and then double clicking on the “CTestProject1.dsw" file

More Related