Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 5th, 2005, 2:27 PM   #1
saragonhat
Newbie
 
saragonhat's Avatar
 
Join Date: Feb 2005
Posts: 9
Rep Power: 0 saragonhat is on a distinguished road
Send a message via Yahoo to saragonhat
hello

hi everyone! i'm Chrissie and i'm 17. i'm really interested in programming. well, just got an assignment and i would like to know what is meant by - if character < "a" OR character>"z"
Does this mean a character which is not in the alphabet like a dot? or is it a dumb statement?
thx in advance
saragonhat is offline   Reply With Quote
Old Feb 5th, 2005, 3:00 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
It does. In most languages, this means a character with an ASCII value of less than the ASCII value of 'a' and greater than the ASCII value of 'z'. It also includes uppercase characters.

Welcome to the forums.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Feb 5th, 2005, 6:18 PM   #3
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,667
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
welcome to the forum
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote
Old Feb 5th, 2005, 8:51 PM   #4
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6 bl00dninja is on a distinguished road
looks like that statement is attempting to focus on the ascii values between a and z. i have an idea of what your program wants but i can't truly see it without the rest of it.
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Feb 5th, 2005, 9:41 PM   #5
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
Welcome to the forums!
__________________
&quot;Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children.&quot; - Dwight D. Eisenhower
Mjordan2nd is offline   Reply With Quote
Old Feb 6th, 2005, 1:23 AM   #6
saragonhat
Newbie
 
saragonhat's Avatar
 
Join Date: Feb 2005
Posts: 9
Rep Power: 0 saragonhat is on a distinguished road
Send a message via Yahoo to saragonhat
thx for the reply

one more thing, by this - If OK do - does this mean that if OK=true then do something?

Last edited by saragonhat; Feb 6th, 2005 at 1:31 AM. Reason: forgot to ask something else
saragonhat is offline   Reply With Quote
Old Feb 6th, 2005, 2:10 AM   #7
Benoit
Expert Programmer
 
Benoit's Avatar
 
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 579
Rep Power: 5 Benoit is on a distinguished road
Welcome to the forums, Chrissie

If the condition of an if statement is true, then it does something

What language are you coding in?
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4
Benoit is offline   Reply With Quote
Old Feb 6th, 2005, 2:47 AM   #8
saragonhat
Newbie
 
saragonhat's Avatar
 
Join Date: Feb 2005
Posts: 9
Rep Power: 0 saragonhat is on a distinguished road
Send a message via Yahoo to saragonhat
well, it's just a pseudocode assignment.
besides, i'm trying to do a calculator for octal numbers
saragonhat is offline   Reply With Quote
Old Feb 6th, 2005, 4:10 AM   #9
Pseudo Class
Newbie
 
Pseudo Class's Avatar
 
Join Date: Dec 2004
Posts: 26
Rep Power: 0 Pseudo Class is on a distinguished road
Welcome to the forums!
__________________
Mhm...Ramen.
Pseudo Class is offline   Reply With Quote
Old Feb 6th, 2005, 6:44 AM   #10
Overmind
Professional Programmer
 
Overmind's Avatar
 
Join Date: Jun 2004
Location: South Africa, Johannesburg
Posts: 301
Rep Power: 5 Overmind is on a distinguished road
Welcome!
__________________
[SIGPIC][/SIGPIC]
Overmind is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:40 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC