Skip to content

Instantly share code, notes, and snippets.

@wermarter
Created January 22, 2017 09:35
Show Gist options
  • Save wermarter/1f68b7dfc1498c3a6af1bde7531cf557 to your computer and use it in GitHub Desktop.
Save wermarter/1f68b7dfc1498c3a6af1bde7531cf557 to your computer and use it in GitHub Desktop.
Tiny Cutie Zahada Riddle Bot ( Using Web BRowser )
#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