Topic title is not the best but nvm
I have been looking for this on internet but cant it find anything useful.
#include <windows.h>
void main()
{
ShellExecute(NULL, "open", "http://dreamincode.net",
NULL, NULL, SW_SHOWNORMAL);
}
This is function which I have found on net to open URL, problem of this function is if I want to open 2 URLs I need to have 2 functions instead of one.
What I need is something like this, but I cant implement it.
void openURL (string& URL){
ShellExecute(NULL, "open", URL,
NULL, NULL, SW_SHOWNORMAL);
}