Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void data(char input[],int timezone);
- int main(void)
- {
- char input[10];
- while(1){
- system("cls");
- Nation_list();
- cout<<"선택 : ";
- cin>>input;
- if(strcmp(input,"end")==0)break;
- search(input);
- }
- return 0;
- }
- void data(char input[],int timezone)
- {
- string file=input;
- while(1)
- {
- system("cls");
- ifstream open(file.data());
- if(open.is_open()){
- string line;
- while(getline(open,line)){
- cout<<line<<endl;
- }
- cout<<input<<"시간"<<endl;
- open.close();
- }
- TimeZone(input,timezone);
- Sleep(500);
- if(kbhit()==1) break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement