1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

printf should work now

Ted John
2014-05-22 16:57:55 -07:00
parent 5d0723253e
commit 1b0dfd8b06

@@ -185,13 +185,15 @@ ebx = RCT2_ADDRESS_SPRITE_LIST[ebx];
### Print debugging
To print statements to the console after RCT2 begins running, include the following header:
Use `printf` or,
To print statements to the Visual Studio output after RCT2 begins, include the following header:
```
#include "windows.h"
```
Then use the command [`OutputDebugString`](http://msdn.microsoft.com/en-us/library/aa363362%28VS.85%29.aspx). Sadly printf does not work in some cases.
Then use the command [`OutputDebugString`](http://msdn.microsoft.com/en-us/library/aa363362%28VS.85%29.aspx).
```
OutputDebugString("Hello World!\n");