Link to home
Start Free TrialLog in
Avatar of kenbond
kenbond

asked on

using a long to determine a string for use as a filename

OK heres what im tryin to do.

Filenames are in the format XXXX.cct and XXXX is deterined by a long. So if long i = 1234, then filename would be 1234.cct. If it was 1 then filename would be 0001.cct

What is the easiest way of going about this?

Should I convert the long to a string then append the .cct?
ASKER CERTIFIED SOLUTION
Avatar of van_dy
van_dy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial