   Weird constructor problem.
  This class when, it is not integrated with the main program, shows the following error....and I have no idea what it is trying to say.. :( :(#include "character.h"Character::Character(DrawEngine *de, int s_index, float x, float y,  int lives, char up_key, char down_key, char left_key, char right_key)  : Sprite(de, s_index, x, y, lives){upKey = up_key;downKey = down_key;leftKey = left_key;downKey = right_key;classID = CHARACTER_CLASSID;}bool Character::keyPress(char c){if(c == upKey)return move(0,-1); //move method is returning trueelse if(c == downKey)return move(0, 1);else if(c == rightKey)return move(1, 0);else if(c == downKey)return move(-1, 0);return false;}[Error]error C2533: 'Character::{ctor}' : constructors not allowed a return typecan anyone enlighten me...N.B. when i make use of this class, it creates a lots of error.I am sure the implementation and other things are ok.I am providing a Mediafire link where you can download the project.There you will find two part...one using this CHARACTER class and one without using.Difference is minor.Project download Link:http://www.mediafire.com/?meeitnmh2wq
  Assuming you're using Visual Studio, you can look up the error C2533 in the index for more information.You didn't post character.h but I suspect you have specified a return type for some constructor, such as:void Character();rather than justCharacter();Even "void" is considered a return type.   ;  Solved.Thanks.