Thursday, February 27, 2014

Code Error: Cannot Convert String into Bool! Need Help

Characters in double quotes are strings, not variables.


Writing...


bool "jake" = true;


would be a bit like writing...


int 1 = 2;


That is, is would be trying to assign a value to something which already has a literal value.


No comments:

Post a Comment