See for yourself.
Console outputs some number instead of 2.
http://i55.tinypic.com/vr8v2x.jpg
What am I doing wrong? Need help ASAP have a lab soon!
See for yourself.
Console outputs some number instead of 2.
http://i55.tinypic.com/vr8v2x.jpg
What am I doing wrong? Need help ASAP have a lab soon!
Print the number, not its address.
By the way, you can post code here within [code][/code] bbcode tags.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Oh man, I feel retarded now.
Thanks!