The == operator is for comparison purposes in languages like; C, C++ and Java.
Just one "=" is used for assigning however though.Code:int a = 0; int b = 0; if (a == 100) { b = 200; }
The == operator is for comparison purposes in languages like; C, C++ and Java.
Just one "=" is used for assigning however though.Code:int a = 0; int b = 0; if (a == 100) { b = 200; }
Last edited by T.Jackson; - 2nd August 2007 at 09:35.
Bookmarks