how to capitalize first letter of words in an array in C | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

how to capitalize first letter of words in an array in C

20th Dec 2020, 4:16 PM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar
2 Réponses
+ 1
thanks
21st Dec 2020, 8:48 PM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar
0
Include <ctype.h> and use toupper() function to capitalize a letter. Watch out for spaces (word separator). http://www.cplusplus.com/reference/cctype/
21st Dec 2020, 4:11 AM
Ipang