how to read that content of the file. Actually I am doing one password encryption program, that is why I want that, please help me, and tell me if its possible to read that content or not.
std::ifstream inp("yourFile");
char c;
inp >> c;//c now holds ascii value of first character.
/*You can output integral value using:*/
std::cout << static_cast<unsigned>(c);
/*Or just use it as integral in calculations */
c +=2; //if c was 'a' it is now 'c'
std::cout << c; //Proof
if (c == 97) //Equals to c == 'a'
//do something