how to traverse a file in python and c++ in backward way? And also store data in backward (bottom to
- by mekasperasky
Suppose i want to store 3 lines in a file both in python and C++ .
I want to store it like this
aaa
bbb
ccc ..
But i am giving ccc input first then bbb then aaa. How will I traverse the file from bottom to top and also store from bottom to top/?