17%
This commit is contained in:
parent
d94925e6ed
commit
2ea871a21c
@ -15,11 +15,10 @@
|
||||
struct car* add_car(struct car* first,const char* target) {
|
||||
struct car* newcar = calloc(1,sizeof(struct car));
|
||||
struct car* this=first;
|
||||
int length=0;
|
||||
if(this==NULL){
|
||||
return newcar;
|
||||
}
|
||||
else(this->next!=NULL){
|
||||
while(this->next!=NULL){
|
||||
this=this->next;
|
||||
this->next = newcar;
|
||||
}
|
||||
|
BIN
cv5/train.exe
BIN
cv5/train.exe
Binary file not shown.
Loading…
Reference in New Issue
Block a user