Sei sulla pagina 1di 1

p38..count the number of ch ,lines,spaces in a file.

139..count the number of tymes a specific word present in a file.

40..read a file and write contents into another file in reverse.//txt file
241..write a file in reverse word by word//line by line

42..remove the nth line and copy the input to output file//dont prin 5th line in
over all code
33..lg(obj.lg)seekg,seekt,seekp(reading from the file)tellp//pos=obj.tellp;

os::beg
4os::end

eekg(ios ::cur,0)
5stream obj;

bj.open()
6

Potrebbero piacerti anche