[ create a new paste ] login | about

Link: http://codepad.org/GQQgZhP0    [ raw code | output | fork ]

C, pasted on Mar 21:
class LIQUID {

private:

    SCREEN Screen;

    bool* pFrameFunc;


public:

    LIQUID( bool& failed , const SCREEN Screen_ );
    ~LIQUID();

    virtual void SetFrameFunc( bool &FrameFunc_() ) { pFrameFunc = &FrameFunc_(); }

};



bool LIQUID::pFrameFunc(){

}



|49|error: no bool LIQUID::pFrameFunc() member function declared in class LIQUID|


Output:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Line 1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LIQUID'
Line 21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LIQUID'
Line 27: error: expected identifier or '(' before '|' token
Line 27: error: stray '\342' in program
Line 27: error: stray '\200' in program
Line 27: error: stray '\230' in program
Line 27: error: stray '\342' in program
Line 27: error: stray '\200' in program
Line 27: error: stray '\231' in program
Line 27: error: stray '\342' in program
Line 27: error: stray '\200' in program
Line 27: error: stray '\230' in program
Line 27: error: stray '\342' in program
Line 27: error: stray '\200' in program
Line 27: error: stray '\231' in program


Create a new paste based on this one


Comments: