GLFW+GL provides a portable way to do this though. Otherwise you'd need to mess with platform-specific window systems.
(something like minifb would be a more minimal option though: https://github.com/emoon/minifb)
(something like minifb would be a more minimal option though: https://github.com/emoon/minifb)