Product Documentation

Building a Microsoft Visual Studio C++ Project for Your c-tree Application

Previous Topic

Next Topic

Building a New C++ Project in Microsoft Visual Studio

This document is for compiling projects using C++. If you wish to use C, see Building a Microsoft Visual Studio C Project for Your c-tree Application.

The steps to create a new c-tree C++ project in Visual Studio are as follows:

  1. Create a new “console application” project.
  2. Copy some test code into the .cpp file.
  3. Add three FairCom-provided library (.lib) files to the project.
  4. Add dependencies for ws2_32.lib and crypt32.lib to the project.
  5. Tell the project where it can find the c-tree header (.hpp) files.
  6. Test your new project.

Explicit details of these steps are contained in the following sections.

In This Chapter

Step 1 - Create a new “console application” project

Step 2 - Copy some test code into the .cpp file

Step 3 - Add three FairCom libraries to the project

Step 4 - Add dependencies for "ws2_32.lib" and "crypt32.lib"

Step 5 - Tell the project where it can find the c-tree header (.hpp) files

Step 6 -Test your new project

TOCIndex