Sign in to follow this  
RideThePhoenix

Program Failing to recongnize

Recommended Posts

http://pastebin.com/d360dc856 - DRAWENGINE HEADER http://pastebin.com/m28675cc5 - GAME HEADER http://pastebin.com/m45701032 - SPRITE HEADER http://pastebin.com/m4a020acc - drawengine cpp http://pastebin.com/m28420177 - game cpp http://pastebin.com/m55231ee5 - SPRITE CPP 1>e:\languages\c++\module 1\projects\videos\game_project\game_project\sprite.cpp(83) : error C2065: 'drawArea' : undeclared identifier 1>e:\languages\c++\module 1\projects\videos\game_project\game_project\sprite.cpp(83) : error C2227: left of '->drawSprite' must point to class/struct/union/generic type Someone please help out!

Share this post


Link to post
Share on other sites
New error:

1>------ Build started: Project: Game_Project, Configuration: Debug Win32 ------
1>Compiling...
1>Sprite.cpp
1>e:\languages\c++\module 1\projects\videos\game_project\game_project\sprite.cpp(89) : error C2575: 'addLives' : only member functions and bases can be virtual
1>e:\languages\c++\module 1\projects\videos\game_project\game_project\sprite.cpp(89) : error C2084: function 'void addLives(int)' already has a body
1> e:\languages\c++\module 1\projects\videos\game_project\game_project\sprite.cpp(42) : see previous definition of 'addLives'
1>Build log was saved at "file://e:\Languages\C++\Module 1\Projects\Videos\Game_Project\Game_Project\Debug\BuildLog.htm"
1>Game_Project - 2 error(s), 0 warning(s)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this