> For the complete documentation index, see [llms.txt](https://theiotlearninginitiative.gitbook.io/embedded-linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://theiotlearninginitiative.gitbook.io/embedded-linux/application-development/c++.md).

# C++

```bash
    root@edison:~# g++
    g++: fatal error: no input files
    compilation terminated.
    root@edison:~# vi helloworld.c
```

```cpp
#include <stdio.h>

void main (){
    printf("Hello World\n");
}
```

```bash
    root@edison:~# g++ -o helloworld helloworld.c
    root@edison:~# ./helloworld
    Hello World
    root@edison:~#
```
