Invert letter cases of a string in C

Опубликовано: 24 Октябрь 2024
на канале: Solve Computer Science
34
1

Here's a new video about programming in C. You'll see an exercise about inverting (reversing) the letter cases of a string.

Various solutions are possible: you'll see the algorithm, an implementation in C and a different one in C++.

CHAPTERS

0:00 Intro
0:08 Description of the problem: find the case inverted version of a string
0:21 Guideline
0:29 Advice
0:55 Recognizing the pattern
1:42 Characters are represented as numbers: `char` and `unsigned char`
2:46 Operations on `char` data type variables
3:00 Pseudocodes
3:25 Translating the pseudocode to C
4:19 Running the code
4:37 Changing the code to test the assertion
5:12 Solution in C++
5:38 Outtro

#c #cplusplus #programming #coding #strings #solvecomputerscience