cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
what is wrong with this if statement
what is wrong with this if statement
Jan 27, 2013 at 2:20am UTC
exclamedbee25
(1)
if(c = 1)
Jan 27, 2013 at 2:22am UTC
closed account (
L1AkoG1T
)
Should be
if
(c == 1)
.
Take a look at this tutorial:
http://www.cplusplus.com/doc/tutorial/control/
Topic archived. No new replies allowed.