First commit
This commit is contained in:
11
IUT/Info2/Exercices/6.1.8/function.cpp
Normal file
11
IUT/Info2/Exercices/6.1.8/function.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "function.h"
|
||||
|
||||
void MintoMaj(char * p_lettre) {
|
||||
while (*p_lettre != '\0') {
|
||||
if ('a' <= *p_lettre && *p_lettre <= 'z') {
|
||||
*p_lettre = *p_lettre - ('a' - 'A');
|
||||
}
|
||||
|
||||
p_lettre++;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user