do you have a program which counts the number of uppercase and lowercase letters(the main function is comprised with function calls only)
do you have a program which counts the number of uppercase and lowercase letters(the main function is comprised with function calls only)
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
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
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....
ahm..owkie....i have just read the HOMEWORK....sorry..i thought i cud ask here...owkie.....
ahmm..owkie ill change my question....how do pointer works?....
Why the hell was this thread called struct: ?
Anyway there are tutorials on this site and a million others explaining how pointers work.
Google.
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry
owkie... owk... ook, ook.
We are always just one step away from our ancestors. But some are closer.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
:rofl:Originally Posted by Mario F.
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry
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.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Originally Posted by ahluka
it's not your problem...nweiz....do you have that program?...hekhek.....
Banzor him? I just pray he learns to read and stops asking for a free answer to his homework.
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.Originally Posted by asteroidv2
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
Last edited by twomers; 07-16-2006 at 03:09 AM.
xorry..it was just that i didnt read the homework policy..so i had asked....xorry...Originally Posted by Wraithan