Server Help

Non-Subspace Related Coding - my first personal project =)

hellzlaker - Fri Dec 01, 2006 4:02 pm
Post subject: my first personal project =)
i made a program that has shortcuts to websites so if you want to get to mgb, just open program up type a number that stands for the site (for mgb it would be 5) and press enter, its kind off useless but im just doing it for personal use =) so please post couple sites that are SS related that u think i should add =)

here is a screen shot -
Bak - Fri Dec 01, 2006 4:34 pm
Post subject:
looks good; where's the source code?
hellzlaker - Fri Dec 01, 2006 4:35 pm
Post subject:
ok here:
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;
   
}
   
   
   
   
   
   
   
   
             

Purge - Fri Dec 01, 2006 5:40 pm
Post subject:
I think Mozilla's bookmark tabs beat you. sa_tongue.gif
hellzlaker - Fri Dec 01, 2006 6:01 pm
Post subject:
-.- thats y i hate mozzila -.-
hellzlaker - Fri Dec 01, 2006 7:53 pm
Post subject:
wierd more pple downloaded the picture which is already shown anyway icon_cool.gif
Maverick - Sat Dec 02, 2006 9:29 am
Post subject:
That's probably the google bot, hellzlaker, since viewing the picture via the topic page doesn't add to the download count.
Cyan~Fire - Sat Dec 02, 2006 12:53 pm
Post subject:
switch!

Now try loading the sites from a text file. icon_smile.gif
Quan Chi2 - Sat Dec 02, 2006 1:54 pm
Post subject:
Cyan~Fire wrote:
switch!

Now try loading the sites from a text file. icon_smile.gif


I don't think hes ready for something like that yet. He should work on reading the text file first or using the switch statement, but not both at the same time. I think it will confuse him.
hellzlaker - Sat Dec 02, 2006 1:57 pm
Post subject:
-.- im not that good with c++ yet =)

but i also figured out how to made a batch file say when was the file created (date hour minute..) and its size with other details

Code: Show/Hide


@echo off
echo open this program in any folder where you want to view details
echo.
dir
pause


reuslt is



Edit by Smong: Changed the image url to prevent the download counter increasing.
hellzlaker - Sat Dec 02, 2006 1:58 pm
Post subject:
lol quan type faster them me
Smong - Sun Dec 03, 2006 6:08 am
Post subject:
Maverick wrote:
viewing the picture via the topic page doesn't add to the download count.
Hmm, I'm not sure about that. Maybe it doesn't account for all upper case file extensions, like JPG instead of jpg, since the last image he attached was still causing the download count to go up.
D1st0rt - Sun Dec 03, 2006 5:32 pm
Post subject:
hellzlaker, welcome to the wonderful world of Windows NT DOS commands
http://www.fsref.com/pr/dosnt.htm
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group