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

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.

主站蜘蛛池模板: 织金县| 茶陵县| 思南县| 民和| 海口市| 平遥县| 醴陵市| 乐都县| 镇赉县| 博白县| 富川| 淮南市| 南澳县| 崇左市| 伊吾县| 鲁山县| 浪卡子县| 和林格尔县| 名山县| 错那县| 鲜城| 奉贤区| 佳木斯市| 霸州市| 隆尧县| 元氏县| 涞水县| 门头沟区| 资源县| 远安县| 当雄县| 曲靖市| 城固县| 佛坪县| 乐安县| 体育| 永宁县| 汝南县| 延长县| 温宿县| 石首市|