Skip to content

Instantly share code, notes, and snippets.

@twobob
Forked from wermarter/cpp_zahada.cpp
Created April 18, 2018 13:32
Show Gist options
  • Save twobob/d47edbf93934ff182ebb29c8830cf893 to your computer and use it in GitHub Desktop.
Save twobob/d47edbf93934ff182ebb29c8830cf893 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