Search:
Forum
General C++ Programming
read preexisting file
read preexisting file
Jun 16, 2011 at 7:49am UTC
anjy
(2)
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
Jun 16, 2011 at 12:46pm UTC
hamsterman
(4538)
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
Jun 16, 2011 at 12:46pm UTC
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs