Possible Duplicate:
main.cpp access member function of another .cpp witin same source file
i use two cpp files within same sourcefile another.cpp here i use one class and member function like ,
Another.cpp
class A
{
public :
int Add();
};
int A::Add()
{
-----
-------
}
------------------
main.cpp
here also,
class B
{
--------
}
int main()
{
here ,can i possible to create an object for class A and access Add function without(using without header file is important)...
return 0;
}
thanks in advance..