Author | Message |
---|---|
Amedrano
Posts: 80
|
Posted 17:48 Jan 10, 2016 |
Are we to assume all letters will be uppercase? |
aaleman11
Posts: 42
|
Posted 17:54 Jan 10, 2016 |
Can you be more specific? The question is sort of vague. There are a few sections of 332C and they probably have different assignments. |
comlor
Posts: 16
|
Posted 19:14 Jan 10, 2016 |
It shouldn't matter if a letter is uppercase or lowercase. They have different ASCII values so you can test for them individually. If your require all characters to be upper or lowercase you can use the toupper or tolower functions. See the following for toupper http://www.cplusplus.com/reference/cctype/toupper/ and similarly you can test for upper or lower case with isupper and islower. See the following for isupper |
Amedrano
Posts: 80
|
Posted 19:25 Jan 10, 2016 |
Thanks yeah dumb question |
comlor
Posts: 16
|
Posted 19:27 Jan 10, 2016 |
no question is dumb. Sometimes we just get to close to the project and/or frustrated to see the solution. |