i want to implement some code from my console app to my win form.
dont know how to write that for loop in win forms though...
pls help, thanks.
in console app:
Code:
string pw; char key; cout << "Pw: "; cin >> pw; cout << "\nKey: "; cin >> key; for (int i = 0; i < pw.size(); i++) { pw[i] ^= key; }