I have this header file
And I have a function delaration in another fileCode:#ifndef DRAWTRACK_H #define DRAWTRACK_H class VectorDraw { private: int x , y ; public: void FastRect(); }; #endif
Code:#include <iostream.h> #include "drawtrack.h" void VectorDraw::FastRect() { cout<<"some random code here"; }
I want to call this function from another file .
Can someone tell me the syntax




Reply With Quote