> For the complete documentation index, see [llms.txt](https://aeriform.gitbook.io/hucc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aeriform.gitbook.io/hucc/getting-started/readme.md).

# Hello World

To start off let's do something super simple, and print some text on the screen on the PC Engine.

This is the minimum code needed to print text on the screen.

```c
#include <huc.h>

void main(void)
{
    put_string("HELLO WORLD", 1, 1);
    put_string("This is the PC Engine!", 1, 2);
}
```

This example uses the HuCC `put_string` text function to display text inside a main function loop.

`put_string( unsigned char *string, unsigned char bat_x, unsigned char bat_y );`&#x20;

This writes a null terminated ASCII string, with the x and y coordinates in `Tiles`.

After running `make` and loading `game.pce` in the emulator, this is what you should see:

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

This is now showing two lines of text being written in the default system font.

{% hint style="info" %}
By default if a text colour is not defined, the colour of the text will appear as cyan.
{% endhint %}
