Servertec
+
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
iPP
Templates
Constants
Identifiers
Operators
Expression [( )]
Unary Not [!]
Unary Plus [+]
Unary Minus [-]
Stringizing [#]
Charizing [#@]
1's Complement [~]
Multiplication [*]
Division [/]
Modulus [%]
Addition [+]
Subtraction [-]
Concatenation [##]
Bit Left Shift [<<]
Bit Right Shift [>>]
Bit And [&]
Bit Or [|]
Bit Xor [^]
Less Than [<]
Greater Than [>]
Less Than
Or Equal To [<=]
Greater Than
Or Equal To [>=]
Equal To [==]
Not Equal To [!=]
Logical And [&&]
Logical Or [||]
Logical Xor [^^]
Sequence [,]
Directives
Macros
Java API
Legal
Contact Us
Unary plus is supported for readability, since is has no effect on the value of the expression.
Syntax
+
expression
Notes
Expression
Result
Positive Value
Positive Value
Negative Value
Negative Value
Example
#if TRUE != +1 #define TRUE (+1) #endif
top of page
Copyright
© 1998-2005 Servertec. All rights reserved.
Privacy Statement
.
Last Modified: Sun Sep 04 14:56:03 EDT 2005