> For the complete documentation index, see [llms.txt](https://docs.aic-eec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming.md).

# Principle C/C++ Programming

- [Get started with C++](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/get-started-with-c++.md)
- [Makefile](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/makefile.md)
- [Makefile Examples](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/makefile/makefile-examples.md)
- [Compiling and running](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/linux-os-lab-1-c-c++-code.-how-to-compile-and-run..md): Create your own C/C++ program and run it on your OS.
- [How to create a program that you can enter inputs.](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/linux-os-lab-1-c-c++-code.-how-to-compile-and-run./how-to-create-a-program-that-you-can-enter-inputs..md)
- [Lab 1 Exercise](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/linux-os-lab-1-c-c++-code.-how-to-compile-and-run./how-to-create-a-program-that-you-can-enter-inputs./lab-1-exercise.md)
- [Arguments](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/1.-arguments.md)
- [Command line arguments in C and C++](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/1.-arguments/command-line-arguments-in-c-and-c++.md): การใช้งาน argument ในภาษา C ด้วยฟังก์ชัน main
- [signed and unsigned data types](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/signed-and-unsigned-data-types.md)
- [Variable and Operator](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/variable.md)
- [If and If else](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/if-and-if-else.md): Make a condition and run it.
- [Loop, Infinite loop, and flag](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/infinite-loop-and-flag.md): Debug > more bug > repeat
- [Loop and Flag exercise](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/infinite-loop-and-flag/loop-and-flag-exercise.md)
- [Array](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/array.md)
- [Get to know with arrays](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/array/get-to-know-with-arrays.md)
- [Implement example](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/array/implement-example.md)
- [Vector](https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming/vector.md)


---

# 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:

```
GET https://docs.aic-eec.com/c-c++-for-embedded-programming/principle-c-c++-programming.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
