#include <iostream>
#include <cstdlib>
class CSDLGameObject
{
    public:
        CSDLGameObject() {m_PosX = 0;
                          m_PosY = 0;}
		void print()
		{
			std::cout << "Test";	
		}
	
    protected:
       int m_PosX;
       int m_PosY;

};

class CGoombas : public CSDLGameObject
{
    public:
        CGoombas(); 
};

CGoombas::CGoombas() : CSDLGameObject() //Here is the error
{
    m_PosX = 400;
    m_PosY = 300;
}

int main()
{
	CGoombas goombas;
	
	goombas.print();
	
	return 0;	
}