html link in a program

What is the code for a button that will take you to a site? If you don't mind use cplusplus.com as the example...
bump
hi

for windows you can use something like this

1
2
 
ShellExecute(NULL,"open","http:\\cplusplus.com",NULL,NULL,SW_SHOWDEFAULT);


You will need to link to shell32.lib

Ill have a look how to do it in linux just in case

Hope this helps
Shredded
hey thanks man, but it doesn't work for 'C++ Windows Form application button event'.
Topic archived. No new replies allowed.