I tried it but all i get is a blank .txt file.
This is a discussion on Text editor within the C++ Programming forums, part of the General Programming Boards category; I tried it but all i get is a blank .txt file....
Well for a start have you made sure the file exists...your program should really do that for you.
If the file doesn't actually exist and you copy from it then there is probably no wonder that it doesn't work.
yes but where is the file?
keep updating your code... make sure to include everything from the includes to the last bracket.... so we can check whats goin on