Thread: Climb a tree
View Single Post
  #7  
Old 02-14-2013, 08:55 PM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default

Quote:
Originally Posted by Secrets View Post
Yes.

if(var = othervar) in C++ will compile, but will not have the proper comparison.
This is valid c++.

http://stackoverflow.com/questions/1...in-a-condition
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
Reply With Quote