Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- #include <stdlib.h>
- #include <cstring>
- #include <cstdio>
- #include <windows.h>
- using namespace std;
- int main()
- {
- string s="andrei";
- int len=s.size();
- char chr[len];
- strcpy(chr,s.c_str());
- cout<<chr;
- char x[]="stana";
- string str1(x);
- cout<<str1;
- string filename="mspaint";
- ShellExecute(NULL,"open",filename.c_str(),NULL,NULL,SW_SHOWNORMAL);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement