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

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.

主站蜘蛛池模板: 吉首市| 甘南县| 泰来县| 集贤县| 乐东| 墨脱县| 水城县| 钟祥市| 宝清县| 洪江市| 龙江县| 德令哈市| 麻阳| 巴马| 开化县| 密云县| 隆昌县| 临漳县| 海丰县| 吐鲁番市| 阳春市| 科技| 石台县| 南皮县| 新邵县| 务川| 新兴县| 荥经县| 城市| 乡宁县| 金华市| 简阳市| 江城| 容城县| 巴彦淖尔市| 枝江市| 鲁山县| 兰考县| 云梦县| 宜川县| 高要市|