open html file in browser using c++

Code Example - open html file in browser using c++

                
                        #include <windows.h>

void main()
{  
   ShellExecute(NULL, "open", "http://dreamincode.net",
                NULL, NULL, SW_SHOWNORMAL);
}