std::cout<<"Welcome User"<<std::endl;
std::cout<<"This is a login page";
std::cout<<"Fill in the details"<<std::endl;
std::cout<<"Create a username: ";
std::cin>>username;
}
what's the problem????
Error: cannot bind 'std::istream
std::cout<<"Welcome User"<<std::endl;
std::cout<<"This is a login page"<<std::endl;
std::cout<<"Fill in the details"<<std::endl;
std::cout<<"Create a username: ";
std::cin >> username;
std::cout<<"Username is "<<username<<std::endl;
std::cout<<"Create Password: ";
std::cin >> const password;
}
This problem comes up
error: expected primary-expression before 'const'
std::cin >> *const password;
^~~~~