AnsweredAssumed Answered

error when i using a function in a class in cpp

Question asked by mahmoud on Oct 1, 2014
Latest reply on Oct 2, 2014 by sung.chen_chung
hi every body
in a cpp file i include a header file and want to use header file's functions inside class but it shows a error:


    lib1.h
    class class_x{
    public:
    calss_x();
    private:


    }


---


    lib1.cpp
    #include "lib1.h"
    #include "header1.h"
    class_x::class_X()
    {
    function_of_header1.h();
    }


error shows undefine symbol function_of_header1.h()
whas matter?
WBR

Outcomes