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

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.

主站蜘蛛池模板: 蒙山县| 余庆县| 工布江达县| 遵义县| 河池市| 资兴市| 潢川县| 肇东市| 台中市| 疏勒县| 晋宁县| 墨竹工卡县| 贵溪市| 南充市| 芜湖市| 和田县| 泌阳县| 钦州市| 金塔县| 嘉禾县| 康乐县| 忻城县| 沧州市| 乐山市| 山东| 临颍县| 石阡县| 安岳县| 黑水县| 长武县| 北京市| 黑山县| 桂阳县| 思茅市| 庄河市| 辽阳县| 吉林市| 年辖:市辖区| 高唐县| 绥滨县| 泰来县|