21.05.2010, 21:45
So..ill try to make this as easy to understand as possible:
For example:
There are 10 files in a folder. They are named "username.cfg"
Folder:
jacob.cfg
carlos.cfg
james.cfg
alex.cfg
jacob would be id 1
carlos would be id 2, etc.
would it be possible to open file #1 in the folder?
so without doing
I could do
Also possibly if i could get the title of the file as well? thanks..
For example:
There are 10 files in a folder. They are named "username.cfg"
Folder:
jacob.cfg
carlos.cfg
james.cfg
alex.cfg
jacob would be id 1
carlos would be id 2, etc.
would it be possible to open file #1 in the folder?
so without doing
Код:
fopen("jacob.cfg")
Код:
fopen(file1);