Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <vector>
- #include <iostream>
- #include <windows.h>
- using namespace std;
- int main()
- {
- vector<char> str(MAX_PATH);
- cout << "Enter your name: ";
- scanf(str.data());
- cout << "Hello " << str.data() << " :)" << endl;
- return -14;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement