Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~162 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for iamhe

This is giving me a headache...can someone please tell me why these statements ARE NOT equivalent? Statement 1.) if(running_result && shell[8 * (x - 1) + (y - 1)].input_val) running_result = true; else running_result = false; Statement 2.) running_result &= shell[8 * (x - 1) + (y - 1)].input_val; ------------------------- …

Member Avatar for iamhe
2
162