Created
January 22, 2017 09:35
-
-
Save wermarter/1f68b7dfc1498c3a6af1bde7531cf557 to your computer and use it in GitHub Desktop.
Tiny Cutie Zahada Riddle Bot ( Using Web BRowser )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <string> | |
#include <iostream> | |
using namespace std; | |
int main() { | |
string url; cin >> url; | |
url = "http://www.mcgov.co.uk/riddles/" + url + ".html"; | |
ShellExecute(NULL, "open", url.c_str(), "", ".", SW_SHOWNORMAL); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment