quote:Original post by SabreMan
That''s subjective.
well its more of a utility to test an idea out i have for when i actually start working on the game, so yes it is a the beginings of a game in a way.
quote:
You mean include guards.
sure if thats what you want to call them, i didnt want to use a generic term to make sure anyone could see the code I was using
quote:
Drop the leading underscore - it''s illegal.
well if you mean the first one, its perfectly valid (thats used in almost every include ive ever seen). if you mean the last one, that was a typo its not like that in my code
quote:
It depends on whether you are #include''ing cpp files. I''d guess not.
the only place i include my cpp is at the bottom of its .h file in the include guards
quote:
Nothing odd about that, it means what it says.
i know what the error means, but i incuded the code along with it for a reason, i dont see where i am returning anything, yet it still get the error, that was the question at hand.
quote:
Are you sure you don''t have a missing semicolon before the ctor?
well as far as i know my code should all be valid (im very comfortable with using oop and its structure), my only thought is the way in doint the including is what could somehow be cuasing this error.
quote:
No, no difference. What do you mean, it doesn''t have the open() function? Of course it does!
well, i made an ostream, yet open was not one of my choices plus it gave me a syntex error(had sometheing like open_mode, but no open like it should have) and i noticed that there (apon inspection of fstream, that it includes a file called oldio.h or something simular do that based off some macro (didnt really look at it for more than secounds) so i assumed that that is what it used for a console app, but still no open to be found in my win32app when i use it though...