Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


Error def....


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 ViPeR007   Members   -  Reputation: 122

Like
Likes
Like

Posted 19 October 1999 - 12:21 PM

Could anyone tell me what this error message means?

error C2676: binary '[' : 'struct BOB_TYP' does not define this operator or a conversion to a type acceptable to the predefined operator

I have several and I thought that if I can get one fixed I should be able to get the others fixed too.

Thanx for the info,
ViPeR


Sponsor:

#2 Niels   Members   -  Reputation: 122

Like
Likes
Like

Posted 18 October 1999 - 10:13 PM

Trying to access something which is not an array, using []. I.e.:

int asd;
int k=asd[0];

(I haven't tested it, so I don't know if that would give that exact error message). If you could provide a bit more info on the line that's causing this message I might be able to help you further.

/Niels


#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 19 October 1999 - 12:21 PM

This is one of the lines that is a problem:

bots[0].state = BOT_STATE_OFF;

Its setting the bot (enemy) to an off state or not being drawn on the screen.

Thanx again,
ViPeR





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS