PSP Coding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

PSP Coding


 
HomeLatest imagesSearchRegisterLog in

 

 [Console] Openning a Website

Go down 
AuthorMessage
-LeetGamer-
Admin



Posts : 247
Points : 397
Reputation : 4
Join date : 2010-09-29
Age : 30

[Console] Openning a Website Empty
PostSubject: [Console] Openning a Website   [Console] Openning a Website I_icon_minitimeThu 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.
Back to top Go down
 
[Console] Openning a Website
Back to top 
Page 1 of 1
 Similar topics
-
» [C++] Video Console Application Tutorials
» MIPS Helper Website

Permissions in this forum:You cannot reply to topics in this forum
PSP Coding :: Windows Programming :: Windows Programming Chat :: Code Examples-
Jump to: