Hi, i want to make a encryption in c / c++, but when i execute a program print only last char, yes, i know char is a single latter, but when i put std::string text = "som... i can't use this: (int(text));
Help.
Code:char text = 'some text'; // Encryption int x = (int(text)); x = x * 8 - 300 * 2; cout << x; char y = x; cout << y;