Search
 
SCRIPT & CODE EXAMPLE
 

C

successeur nombre chaine

void Succ (char * ch){
    if (Dernier(ch) == '9'){
        // Debut(ch) : délivre ch privée de son dernier élément
      	Succ(Debut(ch));
      	// AjoutF(ch, c) : délivre ch à laquelle on a rajouté à la fin de ch 
        AjoutF(ch, '0');
    }else{
      	// Dernier(ch) : délivre le dernier caractère de ch
        int n = int(Dernier(ch));
        n++;
        //Carat(n) : int -- char
        AjoutF(Debut(ch), Carat(n));
    }
}
Comment

PREVIOUS NEXT
Code Example
C :: for loop c 
C :: reattach screen linux 
C :: two bytes to int c 
C :: C percentage program 
C :: program execution time calculate in c 
C :: strcasecmp in c 
C :: block a website on mac 
C :: count number of vowels in a string in c 
C :: string if statements c 
C :: c assign pointer to struct 
C :: how to combine strings in c 
C :: why do we need return 0 in c? 
C :: sequelize count multiple associations 
C :: how to modulo in c without % 
C :: bitwise operators in c 
C :: read a document in c getting name from console 
C :: c radians 
C :: get float in c 
C :: prime factorization of factorials using c 
C :: 2 dimensional array in c 
C :: c find last element in array 
C :: dynamic memory allocation c 
C :: c concatenate and allocate string 
C :: C strlen implementation 
C :: cifras de un numero en c 
C :: user define function in c 
C :: convert video to gif with ffmpeg 
C :: %= in c 
C :: Regex to match any character being repeated more than 10 times 
C :: pipe system call 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =