I hope this helps for some of those wanting to create a basic menu.

#include <iostream>
#include <dos.h>
#include <windows.h>
#include <string.h>
#include <fstream>
using namespace std;
int main()
{
    ofstream OutFile("OutFile.dat");
    
    top:
    system("cls");
    //Opening first prompt to introduce software designer
    system("title SAT-FAST");
    system("Color 6");
    cout<<"             Created and Developed by Cody C Oebel \n"<< endl;
    cout<<"                          12-08-2006        \n"<< endl;
    Sleep(2000);
    cout<<"Options Loading ! " << endl;
    Sleep(500);
    cout<<"...";
    Sleep(500);
    cout<<"...";
    Sleep(500);
    cout<<"...";
    Sleep(500);
    cout<<"...";
    system("cls");
    cout<<"***************************Oebel Communications ***********************"<< endl;
    Sleep(1000);
    cout<<"\n"<<endl;
    Sleep(300);
    cout<<"Please select an option for transferring video drivers"<< endl;
    cout<<"";
    system("cls");
    system(" cd\ ");
    system(" net use G: /del ");
    
    cout<<"Press 1 to copy GX150 Video and Chipset Drivers to Desktop \n"
        <<"Press 2 to copy GX200 Video and Chipset Drivers to Desktop \n"
        <<"Press 3 to copy GX240 Video and Chipset Drivers to Desktop \n"
     <<"Press 4 to copy GX260 Video and Chipset Drivers to Desktop \n"
     <<"Press 5 to copy GX270 Video and Chipset Drivers to Desktop \n" 
     <<"Press 6 to copy GX280 Video and Chipset Drivers to Desktop \n"
     <<"Press 7 to copy GX520 Video and Chipset Drivers to Desktop \n"
     <<"Press 8 to exit the program completely"<< endl;
      cout<<""<<endl;
      cout<<""<<endl;
      system("pause");
      cout<<" please select an option from above"<< endl;
      cout<<""<<endl;
      int x = 0;
      cin>> x;
      switch(x)
      {
                        case 1:
                             {
                             
                            
                             };
                        case 2:
                             {
                            
                             break;
                             };
                        case 3:
                             {
                             
                             
                             break;
                             };
                        case 4:
                             {
                           
                             break;
                             };
                        case 5:
                             {
                      
                             break;
                             };
                        case 6:
                             {
                           
                             break;
                             };
                        case 7:
                             {
                            
                             break;
                             };
                        default:
                                {
                                system("pause");
                             };
                             };
                                
    OutFile.close();
    system("exit");
    return 0;
    /*
    copyWrights to [EMAIL="CodyOebel@yahoo.com"]CodyOebel@yahoo.com[/EMAIL]
    copyWrights to genGOTCHA2yahoo.com
    Hit me up if there are any questions or bugs or ways to make this more efficiant
    */
    };

So what's the question here? If you just wanted to share your code, you could submit it to the 'code snippet' section.

Hit me up if there are any questions or bugs or ways to make this more efficiant

Well, if this program is just for a menu, there are quite a lot of thing that could use improvement. For example:

Sleep(500);
    cout<<"...";
    Sleep(500);
    cout<<"...";
    Sleep(500);
    cout<<"...";
    Sleep(500);
    cout<<"...";
    system("cls");

Why are you trying to slow the program down? Just for the 'looks' of it?

system(" net use G: /del ");

Why?

Using the systemcommand means your program won't be portable anymore, so it is best to avoid it.

Any particular reason why you're using the crappy and outdated dos.h header?

Oh, and not to be rude, but exactly how will this help someone creating a menu system? Other than the fact that it's supposed to look all pretty with those "loading" statements?

So what's the question here? If you just wanted to share your code, you could submit it to the 'code snippet' section.
Well, if this program is just for a menu, there are quite a lot of thing that could use improvement. For example:

Sleep(500);
    cout<<"...";
    Sleep(500);
    cout<<"...";
    Sleep(500);
    cout<<"...";
    Sleep(500);
    cout<<"...";
    system("cls");

Why are you trying to slow the program down? Just for the 'looks' of it?

system(" net use G: /del ");

Why?

Using the systemcommand means your program won't be portable anymore, so it is best to avoid it.

oooops I left those in there by accident. Sorry I didnt know about code snippets on this forum as I am new !

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.