diff --git a/README.md b/README.md index 9e0d17c..b6f62e5 100644 --- a/README.md +++ b/README.md @@ -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 #include -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.