I am facing a problem in assigning a '0' value to string in header file declaration.
I have a header file A.h
but here compiler is giving error as :Code://A.h void show(const string s& = 0,int = 0 );
I am using gcc version 4.2.1 . I have also used NULL but the result were same.error: default argument for parameter of type 'const string&' has type 'int'
Where is the problem ??
Can any body help ??