I have an assignment until next week and i don't know hot to complete it
In the program in c we have to help a cat escape from a dog which has double speed. The program works as follows :
the...
Type: Posts; User: sadam
I have an assignment until next week and i don't know hot to complete it
In the program in c we have to help a cat escape from a dog which has double speed. The program works as follows :
the...
does anyone know how am i able to pick up the closest tree to the cat and show me only that tree??
]int main()
{
FILE *fp;
if((fp = fopen("CatAndDog.dat","r")) == NULL)
printf("File could not be opened\n")
fscanf(fp, "%f %f", &cat_X_coord,...
can anyone solve it?
int main()
{
FILE *fp;
if((fp = fopen("CatAndDog.dat","r")) == NULL)
printf("File could not be opened\n")
fscanf(fp, "%d %d", &a, &b);
fscanf(fp, "%d...
please don't be the smart one, if you don't want to help me just don't help me. i'm stuck and i don't care if you believe it or not. but don't tell me to work if you don't know what i do...
Well we have done them but i would appreciate any help because i am very confused
FILE *fp;
if((fp = fopen("CatAndDog.dat","r")) == NULL)
printf("File could not be opened\n")
fscanf(fp, "%d %d", &a, &b);
fscanf(fp, "%d %d", &c, &d);
fscanf(fp, "%d", &e);
}
itsme86 i really appreciate your work, but how to write all this in C ? :(
I have an assignment until next week and i don't know hot to complete it
In the program in c we have to help a cat escape from a dog which has double speed. The program works as follows :
the...