SFML community forums

Help => General => Topic started by: Rosenzweig on October 10, 2011, 11:01:04 pm

Title: Expected a ';' before polygon... what?
Post by: Rosenzweig on October 10, 2011, 11:01:04 pm
So I started messing around with SFML and only intended to use it for the window aspect of a game, not the actual rendering. Well, I now I have this issue at line 44 where it expects a ';' before polygon. The error itself makes no sense, so can someone help me?

Here is the pastebin:
pastebin.com/e4phVAGF
Title: Expected a ';' before polygon... what?
Post by: Laurent on October 10, 2011, 11:11:39 pm
Polygon is a Win32 function. I can't believe that the compiler is stupid enough (well, most likely the C++ rules rather than the compiler) to be stuck on this.
Title: Expected a ';' before polygon... what?
Post by: Rosenzweig on October 10, 2011, 11:16:04 pm
Quote from: "Laurent"
Polygon is a Win32 function. I can't believe that the compiler is stupid enough (well, most likely the C++ rules rather than the compiler) to be stuck on this.


I've been stuck on this for 5 hours. HAHA, thanks. I'm not that good with classes so I thought I did something completely ass backwards in OOP. Thanks again.