# Thread: Classifying characters (was struct:)

1. ## Classifying characters (was struct:)

do you have a program which counts the number of uppercase and lowercase letters(the main function is comprised with function calls only)

2. Yes.
But I rather suspect the point of the exercise is for you to try it yourself first, see what happens and then post your attempt and more detailed question if you get stuck.

It's not an exercise to see who's got the best google and / or blagging skills to get someone else to do your HOMEWORK

3. ## struct2

i need help..no nags...plzzz.......im gonna be passing it on monday..you know..im not good at programming after all but i have to pass the subject...so plz....

4. ahm..owkie....i have just read the HOMEWORK....sorry..i thought i cud ask here...owkie.....

5. ahmm..owkie ill change my question....how do pointer works?....

6. Why the hell was this thread called struct: ?
Anyway there are tutorials on this site and a million others explaining how pointers work.
Google.

7. owkie... owk... ook, ook.

We are always just one step away from our ancestors. But some are closer.

8. Originally Posted by Mario F.
owkie... owk... ook, ook.

We are always just one step away from our ancestors. But some are closer.
:rofl:

9. Well how about starting with a program which inputs a word, then examines each character

Eg.
Input is
Hello

Output is
H is upper case
e is lower case
l is lower case

etc.

Counting them is one small step on from there

You may find the isupper() and islower() functions in ctype.h useful.

10. Originally Posted by ahluka
Why the hell was this thread called struct: ?
Anyway there are tutorials on this site and a million others explaining how pointers work.
Google.

it's not your problem...nweiz....do you have that program?...hekhek.....

11. Banzor him? I just pray he learns to read and stops asking for a free answer to his homework.

12. Originally Posted by Wraithan
Banzor him? I just pray he learns to read and stops asking for a free answer to his homework.

are ye alright?...

13. Originally Posted by asteroidv2
are ye alright?...
I am fine, I just don't care for people who expect people to do their homework for them. Also I don't care for how you blatantly disregard the posts that were aimed at helping you get a start into this project, even though you don't really deserve it.

14. Dude, this is your answer (from Salem):

>> You may find the isupper() and islower() functions in ctype.h useful.

check out what he says! Use a loop with these functions and have variables which change depending on the result of them. If you are stuck, don't ask us how to use these functions, cause I know for a fact that there are lots of examples on these forums on how to use them. Use the search feature on the site!

EDIT:

Please please can you learn to type properly.

xorry = sorry.
nweiz = (I think) anyway.
owkie = ok, or okay.
and plzzz = please

15. Originally Posted by Wraithan
I am fine, I just don't care for people who expect people to do their homework for them. Also I don't care for how you blatantly disregard the posts that were aimed at helping you get a start into this project, even though you don't really deserve it.
xorry..it was just that i didnt read the homework policy..so i had asked....xorry...

Popular pages Recent additions