Code: Show/Hide /* Main command ShellExecute(NULL, "open", "http://www.google.com/", NULL, NULL, SW_SHOWNORMAL);
some websites : http://a3studio.4t.com http://www.fur4x-hebergement.net/foxnetworks/metallicrift/ http://forums.minegoboom.com/ http://www.shanky.com/server/ http://hackbin.phpnet.us/ all credits go to hellzlaker@hotmail.com */ #include <windows.h> #include <iostream> #include <stdlib.h> using namespace std; int main() { SetConsoleTitle("A3 Shortcuts"); //title of program SetCursorPos(512,512); //makes ur mose apear hear (512 512 = center) int a; cout<<"This is made by A3 Studios, this is a shortcut to websites"; cout<<"\nwhich is very easy to use just type 'number' and hit enter"; cout<<"\nThose are the following sites and their shortcuts.."; cout<<"\n\n\n"; cout<<"\n 1 - A3 Studios home page"; cout<<"\n 2 - Metallic Rift home page"; cout<<"\n 3 - Mine Go Boom Forums"; cout<<"\n 4 - Hack Bin Site"; cout<<"\n 5 - Shanky's server help site"; cout<<"\n\n\nNow press the following number and hit enter: "; cin>>a; if ( a == 1 ) { ShellExecute(NULL, "open", "http://a3studio.4t.com", NULL, NULL, SW_SHOWNORMAL); } else if ( a == 2 ) { ShellExecute(NULL, "open", "http://www.fur4x-hebergement.net/foxnetworks/metallicrift/", NULL, NULL, SW_SHOWNORMAL); } else if ( a == 3 ) { ShellExecute(NULL, "open", "http://forums.minegoboom.com/", NULL, NULL, SW_SHOWNORMAL); } else if (a == 4) { ShellExecute(NULL, "open", "http://hackbin.phpnet.us/", NULL, NULL, SW_SHOWNORMAL); } else if (a == 5) { ShellExecute(NULL, "open", "http://www.shanky.com/server/", NULL, NULL, SW_SHOWNORMAL); } else { cout << "The chocie you entered was invalid. Refer to the main menu for a list of choices.\n\a\n"; system("pause"); } return 0; } |
Cyan~Fire wrote: |
switch!
Now try loading the sites from a text file. ![]() |
Code: Show/Hide @echo off echo open this program in any folder where you want to view details echo. dir pause |
Maverick wrote: |
viewing the picture via the topic page doesn't add to the download count. |