# Static Libraries in C++

Most developers in technical writing and development have little or no knowledge of C++ libraries. It's interesting to find out that there exist features of this language to help us develop and use our own self-developed language.

This comes as a result that individuals do not have the knowledge on either how to create or use these user-defined libraries.Below is a procedure of creating a static library using the visual studio code;

1. On the menu bar, choose **File** &gt; **New** &gt; **Project** to open the **Create a New Project** dialog.
    
2. At the top of the dialog, set **Language** to **C++**, set **Platform** to **Windows**, and set **Project type** to **Library**.
    
3. From the filtered list of project types, select **Windows Desktop Wizard**, then choose **Next**.
    
4. In the **Configure your new project** page, enter *MathLibrary* in the **Project name** box to specify a name for the project. Enter *StaticMath* in the **Solution name** box. Choose the **Create** button to open the **Windows Desktop Project** dialog.
    
5. In the **Windows Desktop Project** dialog, under **Application type**, select **Static Library (.lib)**.
    
6. Under **Additional options**, uncheck the **Precompiled header** check box if it's checked. Check the **Empty project** box.
    
7. Choose **OK** to create the project.
