Open a URL in C++


How to open a link (URL) contained in a string, in C++?


Try this:
#include <windows.h>
char* linkChar="";
ShellExecute(NULL, NULL, linkChar, NULL, NULL, SW_SHOWNORMAL);

elcactus75 for this tip!
Published by deri58. Latest update on July 10, 2013 at 06:58 AM by deri58.
This document, titled "Open a URL in C++," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
Python - Display text in lowercase or uppercase
C# - Vocal Commands with the MsAgent