Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<string.h>
- #include<iostream>
- int main()
- {
- std::string password = "haslo";
- std::string hiddenPassword = "";
- for (auto i : password) {
- hiddenPassword += "*";
- }
- std::cout << hiddenPassword << std::endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement