this is NANDHA KUMAR a class 12 student.. i have to do a project in comp science..... :(
i have decided to do a project on super market billing or departmental stores billing....
I SHUD DO A PROJECT IN C++ WHICH INCLUDES CLASSES AND OBJECTS.....
if anyone of u can help me wid an idea of d total scheme of d project , it wud be of gr8 help to me....
HOPE ILL GET GUD RESPONSES TO THIS...!!! :)

jonsca commented: Don't use chat room speak -1

Recommended Answers

All 4 Replies

#include <iostream.h>
#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include<dos.h>

int main(void)
{
   int gdriver = DETECT, gmode, errorcode;
   int left, top, right, bottom;

   initgraph(&gdriver, &gmode, "c:\\tc\\bgi");
   errorcode = graphresult();
   if (errorcode != grOk)
   {
      printf("Graphics error: %s\n", grapherrormsg(errorcode));
      printf("Press any key to halt:");
      getch();
      exit(1);
   }
     left = 15;
     top = 15;
     right =615 ;
     bottom =450;
     setbkcolor(RED);
     settextstyle(GOTHIC_FONT,0,20);
     outtextxy(275,130,"W");
     delay(200);
     cleardevice();
     outtextxy(275,130,"E");
     delay(200);
     cleardevice();
     outtextxy(275,130,"L");
     delay(200);
     cleardevice();
     outtextxy(275,130,"C");
     delay(200);
     cleardevice();
     outtextxy(275,130,"O");
     delay(200);
     cleardevice();
     outtextxy(275,130,"M");
     delay(200);
     cleardevice();
     outtextxy(275,130,"E");
     delay(200);
     cleardevice();
     outtextxy(25,130,"WELCOME");
     delay(800);
     cleardevice();



     rectangle(left,top,right,bottom);
     settextstyle(GOTHIC_FONT,0,5);
     outtextxy(15,25," M.N SUPER MARKET");
     settextstyle(3,0,3);
     outtextxy(26,100,"OWNERS::NANDHA KUMAR.V");
     outtextxy(32,125,"AND");
     outtextxy(26,150,"MAHENDRA VARMAN");
     delay(1800);
     cleardevice();


     settextstyle(GOTHIC_FONT,0,5);
     outtextxy(15,25," SYNOPSIS");
     settextstyle(TRIPLEX_FONT,0,1);
     outtextxy(25,75,"Manual Calculation of Supermarket bills consumes a lot of");
     outtextxy(25,95," time..!! So there is a urgent need to makin billin easy..");
    outtextxy(25,115,"This is a program to calculate ths bills of the purchases");
     outtextxy(25,135,"in a supermarket.. This program makes the laborious task of");
     outtextxy(25,155,"calculating the bill simle and efficient...");
      rectangle(left,top,right,bottom);
     delay(2000);
     cleardevice();
     settextstyle(GOTHIC_FONT,0,3);
     outtextxy(15,25," we have many new exciting offers");
     cout<<"\n\n\n\n\n\n\n\n\n\n\n\t\t\t  (0 0)";
     cout<<"\n\t\t\t \\  v  /       BUY 1KG CHICKEN AND GET 6 EGGS FREE " ;
     cout<<"\n\t\t\t  (   )";
     cout<<"\n\t\t\t   T T  ";
     settextstyle(3,1,4);
     outtextxy(15,90,"NEW OFFERS");
     rectangle(left,top,right,bottom);
     delay(2000);
     cleardevice();
     getch();
     closegraph();
     return 0;
}

lol, wut?

I have done d intro part on ma own....
Im not askin for d codin...!!! Im just askin for an idea how d output screen
shud be... :)
waiting for replies to come...!!!

commented: No chat speak. -2

@nub truk:: I asked u to help me wid an idea not to insult me
if u can help me wid an idea ill be soo pleased.....

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.