c++

c++

c++

Sunday, 14 September 2014

Using colors in c++ language

#include<iostream.h>
#include<conio.h>
#include<fstream.h>
#include<stdio.h>
#include<dos.h>
void main()
{
clrscr();
textmode(C80);
textbackground(WHITE );
textcolor(RED + BLINK);

  clrscr();
cout<<"\n\t\t\t****************************";
cout<<"\n\t\t\t* HOTEL MANAGEMENT PROJECT *";
cout<<"\n\t\t\t****************************";
sleep(2);

  cout<<"\n\n\n\n\t\tMade By:";
sleep(1);
cout<<"\tNayyer shahbaz Rizvi";
sleep(1);
cout<<"\n\n\t\tSubmitted To:";
sleep(1);
cout<<"\tMrs. Raheel Malik";
sleep(1);
cout<<"\n\n\n\n\n\n\n\t\t\t\t\tPress any key to continue....!!";
getch();
}

No comments:

Post a Comment