read preexisting file

hi everyone
could u plz help me in doing this work
. read first 32 charcters of a preexisting text file and then find out ascii value of each character then take next 32 characters and do the same put all d values in output file
Reading files : http://www.cplusplus.com/doc/tutorial/files/

Char to ASCII value :
1
2
char c = 'A';
std::cout << "ASCII valyue of " << c << " is " << (int)c;


Anything else problematic?
Last edited on
Topic archived. No new replies allowed.