> For the complete documentation index, see [llms.txt](https://docs.intrepidcs.com/vspy-3-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.intrepidcs.com/vspy-3-documentation/3.9.11/vehicle-spy-tutorials/tutorial-c-code-interface/part-1-create-a-project.md).

# Part 1 - Create a Project

### 1. Open Vehicle Spy and Access C Code Interface:

After logging in, open the **C Code Interface** by selecting **Scripting and Automation> C Code Interface**.

![Figure 1: C Code Interface](https://2673726158-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdYdvinhoJh0IN6rV8uo3%2Fuploads%2FShkX0hqdsXeiXufCTBHH%2Fspyexamplecci1.1.gif?alt=media\&token=06e17a88-9b84-4530-b1f3-d44453aa8e55)

### 2. Add a Project:

A new project is added by selecting **Add Project** (Figure 1:![](https://cdn.intrepidcs.net/support/VehicleSpy/assets/smOne.gif)) and then selecting **New Project**. Name the project and give a short description of the project (Figure 2). When done click on **OK**.  Visual Studio should open with the new project created.

![Figure 2: New project](https://2673726158-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdYdvinhoJh0IN6rV8uo3%2Fuploads%2FVP879iHOhSXEdgTAzrx3%2Fspyexamplecci1.2.gif?alt=media\&token=a2e04be9-cde6-4de1-bef1-039b73808493)

### 3. Build and Run:

In Visual Studio, build your project. When done, start Vehicle spy. The Output tab should show **Another Second happened** about every second. This text is coming from the C Code. In Visual Studio the main project file is called **SpyCCode.c**. The Spy\_Main function is the one creating this string. Try changing the text to **Hello World of Vspy!**. Remember to stop Vehicle Spy and recompile for changes to take effect.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.intrepidcs.com/vspy-3-documentation/3.9.11/vehicle-spy-tutorials/tutorial-c-code-interface/part-1-create-a-project.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
