Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void createCurrentPath(char* path, int idCourant)
- {
- if ( idCourant <= 9)
- {
- strcat (path‚ "000%d.ppm\0", idCourant);
- }
- else if ( idCourant <= 99 )
- {
- strcat (path‚ "00%d.ppm\0", idCourant);
- }
- else
- {
- strcat (path‚ "0%d.ppm\0", idCourant);
- }
- }
Add Comment
Please, Sign In to add comment