0 Replies - 168 Views - Last Post: 17 April 2013 - 08:53 PM Rate Topic: -----

#1 makeitloud  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 64
  • Joined: 08-April 13

error iso C++ help

Posted 17 April 2013 - 08:53 PM

#ifndef SCREENMANAGER_H
#define SCREENMANAGER_H

#include<string>
#include<iostream>


class ScreenManager
{
    public:
    ~ScreenManager();
    static ScreenManager &GetInstance();

    void SetText(std::string text);
    void DrawText();

    protected:
    private:
        ScreenManager();
        Screenmanager(const&);
        void operator = (ScreenManager const&);
};

#endif // SCREENMANAGER_H



im getting error iso C++ forbids declaration of 'parameter with no type'[-fpermissive]
iso C++ forbids declaration of 'screenmanager' with no type [-fpermissive]

fixed the screenmanager one sorry that was my fault for over looking but still geting first error.

dis regard this post guys if i could delete it i would.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1