Hi,
I need to open files in different subdirectories of my local directory. The subdirectories have the names 1,2,3 ...,N. How can I make a for loop to open the files in the different folders ? Something like
for( N ) {
fpointer=fopen (../N/filename,"r")
...
}
??
I need to open files in different subdirectories of my local directory. The subdirectories have the names 1,2,3 ...,N. How can I make a for loop to open the files in the different folders ? Something like
for( N ) {
fpointer=fopen (../N/filename,"r")
...
}
??
Comment