Please please i request u to correct the errors in this c++ program as fast as possible. please reply with the corrected program.. please..
 //-----___-----___-----___-----____
 //                                 |
 //  HealthCare Pharmacy            |
 //  Pricing and Monitoring System  |
 //                                 |
 //_____---_____---_____---_____---_|
 #include %26lt;stdio.h%26gt;
 #include %26lt;conio.h%26gt;
 #include %26lt;ctype.h%26gt;
 #include %26lt;string.h%26gt;
 #include %26lt;dos.h%26gt;
 #include "stdlib.h"
 #define PIECES 50
 #define DISCOUNT 0.03
 #define MAXPWD 15
 void details();
 void add_item();
 void search_item();
 void search_by_brand();
 void reports();
 void main_header();
 void pressany();
 void date2day(int col, int row);
 void next_page();
 void log_in();
 void menu();
 char TypePassword[MAXPWD];
 struct Drug
 {
     char ItemCode[10];
     char BrandName[20];
     char Description[20];
     char Generic[20];
     char Manufacturer[20];
     char Indication[30];
     char ItemLoc[30];
Please help me... pls correct these errors?
try this. what's it doing wrong? not making it past the compiler?
//-----___-----___-----___----...
// |
// HealthCare Pharmacy |
// Pricing and Monitoring System |
// |
//_____---_____---_____---____...
#include %26lt;stdio.h%26gt;
#include %26lt;conio.h%26gt;
#include %26lt;ctype.h%26gt;
#include %26lt;string.h%26gt;
#include %26lt;dos.h%26gt;
#include %26lt;stdlib.h%26gt;
#define PIECES 50
#define DISCOUNT 0.03
#define MAXPWD 15
void details();
void add_item();
void search_item();
void search_by_brand();
void reports();
void main_header();
void pressany();
void date2day(int col, int row);
void next_page();
void log_in();
void menu();
char TypePassword[MAXPWD];
struct Drug
{
char ItemCode[10];
char BrandName[20];
char Description[20];
char Generic[20];
char Manufacturer[20];
char Indication[30];
char ItemLoc[30];
}
Reply:struct Drug
{
char ItemCode[10];
char BrandName[20];
char Description[20];
char Generic[20];
char Manufacturer[20];
char Indication[30];
char ItemLoc[30];
}
or no main function ? haha. You have to make it clear man.
Reply:1) What are your errors?
2) Where's the rest of your code?
Reply:So, what errors are you getting?
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment