> For the complete documentation index, see [llms.txt](https://docs.proudnet.com/proudnet.eng/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.proudnet.com/proudnet.eng/proudnet/2.setting/c++.md).

# C++

{% hint style="info" %}
C++ is built on top of  the Visual Studio.
{% endhint %}

{% hint style="danger" %}
Please be aware that even if it is a server program, the client library must also be referenced to build and run.
{% endhint %}

## 1.  ProudNet header file

In the ProudNet installation folder, you will find the include folder -> <mark style="color:orange;">ProudNetServer</mark>, <mark style="color:orange;">ProudNetClient</mark> header files.

The Server project gets the <mark style="color:orange;">ProudNetServer</mark> header file and the Client project gets the <mark style="color:orange;">ProudNetClient</mark> header file. And for the Common project, we import the <mark style="color:orange;">ProudNetCommon</mark> header file.

<table><thead><tr><th width="226" align="center">Location</th><th align="center">File name</th></tr></thead><tbody><tr><td align="center">Project</td><td align="center">HeaderFile</td></tr><tr><td align="center">Server</td><td align="center">ProudNetServer.h</td></tr><tr><td align="center">Client</td><td align="center">ProudNetClient.h</td></tr><tr><td align="center">Common</td><td align="center">ProudNetCommon.h</td></tr></tbody></table>

The path to the included library folder will be different for each project property, and you will need to set the path for both the Debug and Release properties.

<figure><img src="/files/Feppu5nT62ifSb6JY3vd" alt=""><figcaption><p>ProudNet installation path/include</p></figcaption></figure>

## &#x20;2. Setting path to the library \<ProudNetClient.lib> directory

{% hint style="danger" %}
Please do not use the paths below unconditionally, but set them according to your environment and the directory where ProudNet is actually installed.\
\
For architecture- and platform-specific library paths, see [**Download and Install**](/proudnet.eng/proudnet/1.download.md)**.**
{% endhint %}

<table><thead><tr><th width="226" align="center">Location</th><th align="center">Library name</th></tr></thead><tbody><tr><td align="center">Server</td><td align="center">ProudNetServer.lib , ProudNetClient.lib</td></tr><tr><td align="center">Client</td><td align="center">ProudNetClient.h</td></tr></tbody></table>

<figure><img src="/files/fpSxBFHWWIYRS3VwIBmD" alt=""><figcaption><p>64-bit project, ProudNet installation path/lib/x64/v140/Debug</p></figcaption></figure>

<figure><img src="/files/QjTaNzroV64rKZU5gKz4" alt=""><figcaption><p>32-bit project, ProudNet installation path/lib/Win32/v140/Debug</p></figcaption></figure>

&#x20;

## 3. Setting library \<ProudNetClient.lib> Dependencies

<figure><img src="/files/l7IuZW4f5GDiChBrTbAZ" alt=""><figcaption></figcaption></figure>

Apply the above steps to the lib files for the Client and Server projects.

***

## :arrow\_left:  [**Back**](https://docs.proudnet.com/proudnet.eng/proudnet/2.setting/pages/YF7Z3CPCxDI0T1hoMsHR#2.-pidl)
