• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: error: parse error before "Game"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: parse error before "Game"


  • Subject: Re: error: parse error before "Game"
  • From: Tommy Nordgren <email@hidden>
  • Date: Wed, 15 Jun 2005 20:59:10 +0200


Jun 15, 2005 kl. 12:11 PM skrev Hugo Veiga:

Hi all,

I've something like this:

#ifndef _GAME_H_
#define _GAME_H_

class Game
{
    public:
    Game();
    ~Game();

    private:
    void initializeRenderingMachine();

};

#endif//_GAME_H_

When i try to compile it, i get the error stated in the subject, what am i doing wrong?

Thank you.


This code works for me, when trying it in a fresh project.

It's possible that there is a non-breaking space in your original source file.
(This will be entered if you press <option><space>.


To diagnose, open file in TextWrangler, and do a Zap Gremlins


"Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone"

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >error: parse error before "Game" (From: Hugo Veiga <email@hidden>)

  • Prev by Date: Re: Xcode 2.1 saving lag
  • Next by Date: Re: GCC 4.0 GetKeys() and BigEndianLong for Intel
  • Previous by thread: Re: error: parse error before "Game"
  • Next by thread: Output files, working directories and BUILD_STYLE
  • Index(es):
    • Date
    • Thread