I want to open a window in just c++. Now I can do this easily with SDL with just 2-3 lines of code, but I want to learn how to open a window in c++ without any library, I mean like plain c++ nothing else. I searched this on google but results yield nothing of my interest. There has to be a way. People who write libraries are not aliens, they know how to do it so there must be a method to do it. I think it is important to mention that I am using Ubuntu 16.04 and g++.