The Single Equals

When using an if statement, remember that the single equals is an assignment operator; the double equals is an evaluation operator. Make sure you use the double equals with if statements.

C++ Programming Fundamentals
C++ Programming Fundamentals (Cyberrookies)
ISBN: 1584502371
EAN: 2147483647
Year: 2005
Pages: 197
Authors: Chuck Easttom © 2008-2017.
If you may any questions please contact us: