Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // alphabet = "`1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:ZXCVBNM<>?";
- #include <iostream>
- #include <string>
- using namespace std;
- int main()
- {
- string alphabet;
- alphabet = "1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM?-=;,./!@#$%^&*()_+";
- int n = alphabet.length();
- cout << n << endl;
- for each (char a in alphabet)
- {
- for each (char b in alphabet)
- {
- for each (char c in alphabet)
- {
- for each (char d in alphabet)
- {
- for each (char e in alphabet)
- {
- for each (char f in alphabet)
- {
- for each (char g in alphabet)
- {
- for each (char h in alphabet)
- {
- cout << a << b << c << d << e << f << g << h << endl;
- }
- }
- }
- }
- }
- }
- }
- }
- system("Pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement