Hi , can anyone tell me what does this error mean?
s\visual studio 2005\projects\igrabobi\igrabobi\Form1.h(124) : error C2451: conditional expression of type 'void' is illegal
?
I got it when I tried to build my game.
Thanks a lot
robertmacedonia
0
Junior Poster in Training
Recommended Answers
Jump to PostTry posting your code.
From the looks of it, you're trying to use a conditional expression on a function that doesn't return anything.
Again, it's a wild-out-of-the-backside guess, so post your code so we can confirm the real issue.
Jump to PostIt means what it says. Post code because I can't see your monitor.
All 6 Replies
Alex Edwards
321
Posting Shark
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
CoolGamer48
65
Posting Pro in Training
robertmacedonia
0
Junior Poster in Training
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
robertmacedonia
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.