Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Expected a ';' before polygon... what?  (Read 1297 times)

0 Members and 1 Guest are viewing this topic.

Rosenzweig

  • Newbie
  • *
  • Posts: 13
    • View Profile
Expected a ';' before polygon... what?
« 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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Expected a ';' before polygon... what?
« Reply #1 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.
Laurent Gomila - SFML developer

Rosenzweig

  • Newbie
  • *
  • Posts: 13
    • View Profile
Expected a ';' before polygon... what?
« Reply #2 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.

 

anything