using namespace std;
string name ()
{
cout << " write your name please? " << endl;
return 0 ;
}
int main()
{
cout << name () << endl;
return 0;
}
\\ the problem is that when ever i build my project it keeps crushing and foce closing
can someone help me ?
another question : if i dont write return in the function and then build it it will give me like a hundred symbol then it will crush
any one know why ?