Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird error
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#7
RE: Weird error

The issue is that your for loop has a variable assignment for the second expression where it requires a boolean operator or something that returns true or false.

In other words, for (int i = 0; i = 10; ++i), the bold part is the problem. The assignment operator is not a boolean operator, so it doesn't return true or false. If you had < or <= instead of =, then it would work.

Tutorials: From Noob to Pro
(This post was last modified: 02-21-2013, 09:44 PM by Your Computer.)
02-21-2013, 09:43 PM
Website Find


Messages In This Thread
Weird error - by OriginalUsername - 02-21-2013, 03:38 PM
RE: Weird error - by FlawlessHappiness - 02-21-2013, 03:52 PM
RE: Weird error - by OriginalUsername - 02-21-2013, 04:39 PM
RE: Weird error - by FlawlessHappiness - 02-21-2013, 06:50 PM
RE: Weird error - by tonitoni1998 - 02-21-2013, 07:03 PM
RE: Weird error - by OriginalUsername - 02-21-2013, 09:12 PM
RE: Weird error - by Your Computer - 02-21-2013, 09:43 PM
RE: Weird error - by OriginalUsername - 02-22-2013, 12:34 AM



Users browsing this thread: 1 Guest(s)