Guest User

Untitled

a guest
Jul 16th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. void createCurrentPath(char* path, int idCourant)
  2. {
  3.     if ( idCourant <= 9)
  4.     {
  5.         strcat (path‚ "000%d.ppm\0", idCourant);
  6.     }
  7.     else if ( idCourant <= 99 )
  8.     {
  9.         strcat (path‚ "00%d.ppm\0", idCourant);
  10.     }
  11.     else
  12.     {
  13.         strcat (path‚ "0%d.ppm\0", idCourant);
  14.     }  
  15. }
Add Comment
Please, Sign In to add comment