I thought that way, I think is better for c++ #include <iostream> #include <string> using namespace std; int main() { string newpass; string p;...
Try to use string class for that
Separate names with a comma.