when I write a program that reads a file in to the stream where do I place the file?
Note: I'm using Ubuntu Linux
NEVER MINDCode:int main(void){ FILE* spIn; int numIn; spIn = fopen("rut.txt","r"); while((fscanf(spIn,"%d",&numIn)) == 1) printf("%d",numIn); return 0; }