confusion in if statment

what does it means
i saw somewhere written if(equal)too but haven`t understand this statement too
 
if ( islower ( *sptr) ) 
Have you looked it up ?
What is your question ?

maybe what your saying is that who ever wrote that didn't document their code ?

Start here :http://www.cplusplus.com/reference/cctype/islower/
Last edited on
My Question Is What If Doing here
what is it doing
i only know about if is
if(x<y)
{

}

or something like that but don`t know meaning of this statement
if(equal)
or if(islower(*sptr))
See http://www.cplusplus.com/doc/tutorial/control/

The syntax of if has:
if ( condition ) statement

Where the condition is a boolean value, either true or false.

The x < y is an expression. If you evaluate the expression, the result is a boolean value, either true or false.

The islower() is a function. If you do call it, it will compute something and return a value. A boolean value, either true or false.


The if does not know what is within the parentheses. It only cares about the boolean value that is the result of the evaluation of the condition.
Topic archived. No new replies allowed.