can u make a counter for 0-9999 with c ?
Is the pope catholic?
plz .i i need code for it. can u give me?
"plz .i i need code for it. can u give me?"
Is the Pope Jewish?
ne1 ? plz ? code? plz?
How about telling your teacher that you are not up to the task?
If you can't even begin to do this for yourself, what are you going to do with any code that anyone might give you?!
Time to start studying some basic 'C' textbooks; eg,
www.amazon.com/.../ref=nb_ss_3_5
http://www.keil.com/books
publications.gbdirect.co.uk/.../
Look just admit it, if it's your homework ! People will give you advice but not do it for you.
Lets just suppose we gave it to him, and he is indeed a student, then he will pass his classes without knowing how to do it.
Then he gets a job somewhere and the real-world finds out he knows nothing.
Does that increase the value of those who do know, or since the 'market is flooded' with 'graduates' does it devalue those in the know?
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA
"Lets just suppose we gave it to him, and he is indeed a student, then he will pass his classes without knowing how to do it."
I've worked with some pretty clueless people who shouldn't have been involved with embedded systems - But I think that even they were capable of writing code in C to count from 0 to 9999!
In this case, we don't know if the goal is to count from 0 to 9999 as in a tiny C loop, but it might just as well be a request for some interrupt-driven code counting events and presenting on four 7-segment displays.
All we know, is that the request was made from someone who was too impatient to describe the problem properly, and too impatient to spend a bit of own time figuring out possible solutions. A forum is great for helping someone who have done own work, but gotten stuck. Few forums likes to step in and do home assignments.
All things considered: The use of 'text' speak is suspicious. Perhaps he was using his cell phone during a test for a quick answer of how to make a counter? I know in the US cell phones are banned from all class rooms due to kiddies cheating via texting during tests. This sort of thing is human nature, find the easy route out of a problem, not necessarily know how to answer the question.
And the test was probably a form with yes/no answers.
Is it?
It seems that most new users (on this and many other forums) assume that it is the default encoding.
:-(
Yes and every forum I've seen them try it in they get warned not to do it again. Text speak isn't English and people who aren't 'cell' phone infatuated find it so irritating they won't reply to them. They get all bent out of shape if they don't get an answer for days (impatience of youth) then repost. Then they get "no double posting. you must use English in your questions LEET and Cell phone speak is not considered English".
Most people who aren't English speaking are easier to understand than people who use such gibberish. I don't understand why they expect an instant answer either.
Stephen
View all questions in Keil forum