You mustve had very bad luck in your searches, there are tutorials all over the internet, here's one I found by googling for "Create a main window in c++".
http://www.bluesfear.com/tutorials/C++window_p1.php