-LeetGamer- Admin
Posts : 247 Points : 397 Reputation : 4 Join date : 2010-09-29 Age : 30
| Subject: [Console] Openning a Website Thu Sep 30, 2010 4:22 pm | |
| This example will show you how to open a website in the default web browser. - Code:
-
#include <Windows.h>
int main () { ShellExecute (NULL, "open", "www.Google.com", NULL, NULL, SW_SHOWNORMAL); return 0; }
This can also be used in GUI and Game programming, you just need to include the Windows header file. | |
|