0
Hello everybody, What is wrong with this code. It doesn't read the text which is written inside comment lines. Please, help mee
5 Answers
+ 2
There is no text1.txt file but i found touch file in bin/touch
+ 2
Phidan Ok i see , but if the path is right for that text1.txt then it should work fine as it did when i tried reading bin/touch file.
+ 2
Phidan sorry can't help much then , i tried using a different compiler and ide , created a text1.txt file and was even able to read it successfully. just wait for others ti help you out , good luck.
0
Abhay I don't know what the touch file is. With my own compiler, i wrote the code to create a text file firstly.Here i put it inside the comment line just for explaining how i made this text file. then tried to print it out but failed.
0
Abhay It doesn't work:( i also created different files, writing on files is ok, but i can't print them out every time.