I am a C++ beginner, so sorry if the question is too basic.
I have tried to collect the string constrcturs and try all them out (to remember them).
strin
It considers
string strA();
as a function declaration.
For default constructor use:
string strA;