Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Error def....

4: Adsense

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   

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


#2 Niels   Members   

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   

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.