编译的问题
我的编译器编译下面的文件显示:stdio:No such file or directory。stdlib:No such file or directory。
是什么问题啊???怎么解决???
#include <iostream>
#include <stdio>
#include <stdlib>
using namespace std;
class group_1
{
public:
void find(void);
};
group_1 everyone;
class group_2
{
public:
void add(void);
void modify(void);
};
group_2 select_few;
class group_3
{
public:
void add(void);
void modify(void);
void remove(void);
};
group_3 heath;
main(void)
{
char string[2],option='\0';
int i,*intptr;
char *password,*charptr;
cout<<"Please enter password: ";
charptr=gets(password);
i=atoi(charptr);
while(option!='q')
{
cout<<"Please enter option: \n";
cout<<"<a>dd,<f>ind,<m>odify,<d>elete or<q>uit:";
cin>>option;
switch(option)
{
case 'a':
if(i==10 || i==20)
{
select_few.add();
}
else if (i==99)
{
heath.add();
}
else
cout<<"Permission denied!\n";
break;
case 'f':
everyone.find();
break;
case 'm':
if (i==10 || i==20)
{
select_few.modify();
}
else if(i==99)
{
heath.modify();
}
else
cout << "Permission denied!\n";
break;
case 'd':
if (i==99)
heath.remove();
else
cout<< "Permission denied!\n";
break;
case 'q':
break;
default:
cout<<"Invalid input !Please re-enter.\n";
}
}
}
void group_1::find(void)
{
cout<<"Inside group1 find()\n";
}
void group_2::add(void)
{
cout<<"Inside group2_add() \n";
}
void group_3::add(void)
{
cout<<"Inside group3 add() \n";
}
void group_3::modify(void)
{
cout<<"Inside group3 modify() \n";
}
void group_3::remove(void)
{
cout<<"Inside group3 remove() \n";
}