Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: parse error before "Game"




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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.