- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
#include<iostream.h> #include<conio.h> #include<fstream.h> #include<stdio.h> #include<string.h> #include<dos.h> #include<stdlib.h> void display() { clrscr(); cout<<"press: " ; cout<<"\n 1:ADD RECORDS \n 2:RETRIEVE RECORDS \n 3:READ RECORDS \n 4:quit"; } void main() { clrscr(); display(); char choice; cout<<"\nEnter your Choice:"; cin>>choice; switch (choice) { case '1':addrecords();break; case '2':retrieve();break; case '3':readrecords();break; case '4':break; default: cout<<"Only … |
|
HOW DO I COMPARA CHAR INTO A INTGER STRING? ----------------------------------------------------- #include<string.h> #include<conio.h> #include<iostream.h> #include<stdio.h> #include<ctype.h> #define g gotoxy //*design void design() { int ctr; for (ctr=0;ctr<9;ctr++) { textcolor(LIGHTBLUE); cprintf("--"); } } //------------------------------------------------- void maine() { clrscr(); g(8,3);design(); g(8,5);design(); g(27,4);cout<<"DATA STRUCT COMPANY INVENTORY SYSTEM"; int total=0,totalprice=0; int count,ctr=9; struct { char … |