Hi I know this is quite basic, but ..... I have a set of files, ordered numerically ie file001.xyz, file002.xyz........... file999.xyz.
Now, i'm when working with these file names - i want to access the numerical part and place it into a variable
so instead of
fp = fopen("file001.xyz","r");
i could use
fp = fopen("fileVAR.xyz","r"); where VAR is "001"
essentially, the filename is a string, but part of the string being converted into an integer. Any advice gratefully received..... thanks