
Example 01: HotReload

This example demonstrates how to use Live++ to hot-reload C++ code changes while the application is running.

Interesting things to look at and try out have been marked with "Live++" in the source code.
Try to change any of them, save your changes, and then press the hot-reload shortcut "CTRL+ALT+F11".
Live++ will re-compile the changes and inject them into the running application.

Additionally, the example shows how to schedule a hot-reload at any time by calling the ScheduleReload() API.
This is demonstrated in "MainLoop.cpp" in "MainLoop::PollInput" and hot-reloads whenever the "F1" key is
pressed in the application.

Note that you don't have to use Visual Studio at all. It does not matter which IDE or editor you use to alter
your code, Live++ will automatically pick up all changed files when invoking hot-reload through the shortcut
or API.
