xcode 删除文件后编译会出现*** is missing from working copy

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/wbw1985/article/details/12972735

编译的时候会有missing file的警告,原因是由于SVN或git造成的


只要根据警告,每个都使用命令svn rm 丢失文件的路径即可。

展开阅读全文

编译出现 missing ';' before 'PCH creation point'

06-20

如题,新手打码 伤不起啊,实在是不知道怎么改了,求大神指点。。rnhanshu.hrnrn#includern#includernusing namespace std;rnstruct inforn string car_owner;rn int car_num;rn int time;rn;rnclass parking_spacernpublic:rn parking_space()base=(info *)malloc(2 * sizeof(info));top=base;rn void push(info *p);rn void pop();rn void setempty();rn int IsEmpty();rn info *Gettop();rn info *base,*top;rn;rnvoid parking_space::setempty ()rn top=base;rnrnint parking_space::IsEmpty()rn if(base==top) return 1;rn else return 0;rnrnvoid parking_space::push(info *p)rn top=p;top++;rnrnvoid parking_space::pop()rn top--;rnrninfo *parking_space::Gettop()rn info *p;rn p=(top-1);rn return p;rnrnclass parkrnpublic:rn park();rn void take_in();rn void take_out();rn void showEmpty();rn void show();rn int num;rn parking_space space[20];rn;rnpark::park()rn for(int i=0;i<20;i++)rn space[i].setempty();rn rn num=0;rnrnvoid park::showEmpty()rn if(num==20) cout<<"满"<>j;rn cout<<"shu ru info"<>car_owner;rn cout<<"num"<>car_num;rn cout<<"time"<>time;rn info *p;p=new info;rn p->car_owner=car_owner;rn p->car_num=car_num;rn p->time=time;rn space[j].push(p);rn num++;rnrnvoid park::take_out()rn if(num==0) cout<<"无车"<car_owner<<'\t';rn cout<<"car_num"<car_num<<'\t';rn cout<<"time"<time<<'\t';rn rn rn cout<<"车位"<>l;rn while(space[l].IsEmpty()==1)rn rn cout<<"无,从新输入"<>l;rn rn cout<<"car_owner bei qu chu"<car_owner;rn space[l].pop();rn num--;rnrnvoid park::show()rn if(num==0) cout<<" wu che"<car_owner<<'\t';rn cout<<"car_num"<car_num<<'\t';rn cout<<"car_time"<time<next=NULL; rnrnint queue::isempty()rn if(length==0) return 1;rn else return 0;rnrnvoid queue::take_in()rn node *p;rn p=(node*)malloc(sizeof(node));rn string car_owner;rn long car_num;rn int time;rn cout<<"shuru owner ";rn cin>>car_owner;rn cout<<"num ";rn cin>>car_num;rn cout<<"time ";rn cin>>time;rn p->car_owner=car_owner;rn p->car_num=car_num;rn p->time=time;rn rear->next=p;rn p->next=NULL;rn rear=p;rn length++;rnrnvoid queue::take_out()rn cout<<"等的车有"<next;rn while(q!=NULL)rn cout<<" owner"<car_owner<<'\t';rn cout<<"num "<car_num<<'\t';rn cout<<"time "<time;rn q=q->next;rn rn q=p->next;rn cout<<"shu ru car_num"<>Num;rn while(q->car_num!=Num)p=q;q=q->next;rn p->next=q->next;rn cout<<"info"<car_owner<car_num<time<next;rn while(q!=NULL)rn cout<<"info "<car_owner<car_num<time<next;rn cout<<"长度为 "<>ii;rn switch(ii)rn case 1:cout<<"up1 or down2"<>ee;rn switch(ee)rn case 1:n.take_in();goto menu; rn case 2:s.take_in();goto menu; rn default:cout<<"error"<>hh;rn switch(hh)rn case 1:up.take_out();break; rn case 2:down.take_out();break; rn default:cout<<"error"< 论坛

没有更多推荐了,返回首页