pretty much i want it so that if a certain condition is met it opens firefox(or the default web browser) and goes to a certain website. all I really need to know though is how to make it open firefox and make it go directly to a specific website
There is also the very friendly ShellExecute() function in Windows, which will use the user's default web browser to open the URL you specify:
1 2 3 4 5 6 7 8
#include <shellapi.h>
...
if (ShellExecute( NULL, TEXT( "open" ), TEXT( "http://www.cplusplus.com/" ), NULL, NULL, 0 ) <= 32)
{
cout << "I could not open cplusplus.com!\n";
}
The result of the function is useless except to tell whether or not it succeeded. If you want a handle to the process created/used to display your website you will need to use the ShellExecuteEx() function.