官术网_书友最值得收藏!

Creating an empty project

Throughout this book, you will be creating code from scratch as much as possible. Because of this, there will be very few external dependencies. To get started, follow these steps to create a new blank C++ project in Visual Studio:

  1. Open Visual Studio and create a new project by going to File|New|Project:
    Figure 1.1: Creating a new Visual Studio project

    Figure 1.1: Creating a new Visual Studio project

  2. You will see your project templates on the left-hand side of the window that pops up. Navigate to Installed|Visual C++|Other. Then, select Empty Project:
    Figure 1.2: Creating an empty C++ project

    Figure 1.2: Creating an empty C++ project

  3. Enter a project name and select a project location. Finally, click Create.
Figure 1.3: Specifying a new project name

Figure 1.3: Specifying a new project name

If you have followed the preceding steps, you should have a new blank project. Throughout the rest of this chapter, you will add an application framework and an OpenGL-enabled window.

主站蜘蛛池模板: 河北区| 开原市| 南皮县| 汝南县| 拜城县| 兰西县| 泗阳县| 上杭县| 兰溪市| 抚远县| 浮山县| 辽宁省| 五常市| 特克斯县| 凉山| 乌鲁木齐县| 南涧| 淅川县| 龙江县| 清涧县| 自治县| 霞浦县| 柯坪县| 海盐县| 环江| 临澧县| 西宁市| 桦甸市| 奎屯市| 上栗县| 台东市| 漳州市| 旬阳县| 乌鲁木齐县| 吉林市| 彭泽县| 香港 | 义马市| 荣成市| 武平县| 陆河县|