Updated README.md
This commit is contained in:
		| @@ -74,7 +74,7 @@ Wayland Window System. Wayland support is currently not fully supported yet, use | ||||
| - [vcpkg](https://learn.microsoft.com/en-us/vcpkg/get_started/get-started?pivots=shell-cmd) | ||||
|  | ||||
| ### Building | ||||
| `cmake -A x64 -DCMAKE_BUILD_TYPE=Release --preset=default /path/to/source` | ||||
| `cmake -A x64 -DCMAKE_BUILD_TYPE=Release /path/to/source` | ||||
|  | ||||
| ### Compiling | ||||
| `cmake --build /path/to/build --config Release` | ||||
| @@ -89,12 +89,10 @@ This will require the terminal to be running in administrator mode. | ||||
| #include <ehs/EHS.h> | ||||
| #include <ehs/io/Console.h> | ||||
|  | ||||
| ehs::Int_32 Main(ehs::Str_8* appName, ehs::Str_8* appVerId, ehs::Version* appVer) | ||||
| int main() | ||||
| { | ||||
| 	// Simple identifying meta-data for the logger. | ||||
| 	*appName = "Simple Example App"; // The application's name | ||||
| 	*appVerId = "Release"; // The app's version prefix; i.e. Alpha, Beta or Release as an example. | ||||
| 	*appVer = {1, 0, 0}; // The app's version major, minor and patch number. | ||||
| 	ehs::Initialize("Simple Example App", "Release", {1, 0, 0}); | ||||
| 	 | ||||
| 	ehs::Console::Write_8("How old are you?"); // Write to the console in UTF_8 character encoding. | ||||
| 	 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user