error: "invalid operands of types ‘long double’ and ‘long double’ to binary ‘operator^’"
long double plain_text, encryption_key, encrypt, decrypt;
cout << "Enter plain text (corresponding decimal value) : " << endl;
cin >> plain_text;
cout << "Enter key (corresponding decimal value) : " << endl;
cin >> encryption_key;
bitset<128> w(plain_text);
cout << " Your plain text bit stream is: " << setw(5) << w << endl;
bitset<128> x(encryption_key);
cout << " Your key text bit stream is: " << setw(5) << x << endl;
encrypt = plain_text ^ encryption_key;
bitset<128> y(encrypt);
cout << "Your cipher text bitstream is: " << setw(5) << y;
decrypt = encrypt ^ encryption_key;
bitset<128> z(decrypt);
cout << "Your plain text bitstream is: " << setw(5) << z;
return 0;