Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <cstring>
- using namespace std;
- int main(int argc, char** argv)
- {
- const string *_username = new string("pau");
- const string *_password = new string("qwerty");
- char *username[sizeof(*_username) / sizeof(char)] = *_username.c_str();
- char *passowrd[sizeof(*_password) / sizeof(char)]; = *_password.c_str();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement