I might not be searching for the correct terms, but I'll try to explain what I am looking for (probably common).
In Windows to create a window you usually go through WinMain()
, but not all platforms (Linux, OS X, etc) use this function as an entry point to the program.
While I know there are a lot of libraries out there, I'm more curious about the implementation for educational reasons and not looking for a 3rd party library to handle this for me.
The implementation of this is huge I'm sure, but I'm curious on a more abstract level, how would you write your entry point to be able to handle window creation on multiple platforms.