Auto increment an alphanumeric ID in C
Hi everybody..
Can anyone give me any ideas as to how i can auto increment an alphanumeric number? I have files which have ID's of the format - F0001, F0002,....,F0100. Now i have pre existing files till F0008, and when new files are to be added, it must detect the last file ID(which in our case is F0008), increment it and then save the new file with the new ID.
I hope someone can help me soon..
Thanks...
|