Login Register






QCM project help filter_list
Author
Message
RE: QCM project help #9
(01-11-2017, 09:39 PM)Vi-Sion Wrote:
(01-11-2017, 09:19 PM)Pikami Wrote: You had posted your code here, now it's gone...
You were not able to write to a file because you were not closing the writer, so all the data was probably just staying in the internal buffer.
After writing to the file you should close it.

Yep that's why i've actually deleted the post . I figured out i didn't close it.
Thanks for your reply .
I got a new question while going with this i figured out that while writing to a txt \n doesn't work, after googling it i found that i should use \r\n instead .
Any idea why ? and what does the \r do ?

'\n' is called a 'Line feed' symbol
'\r' is called a 'Carriage return' symbol
Unix based systems use '\n' as the newline character while Windows/DOS use '\r\n' as the newline character.

'\n' jumps to new a new line while '\r' returns to the start of the line
(This post was last modified: 01-11-2017, 09:53 PM by Pikami.)

[+] 1 user Likes Pikami's post
Reply





Messages In This Thread
QCM project help - by Vi-Sion - 01-10-2017, 02:17 PM
RE: QCM project help - by Mr.Kurd - 01-10-2017, 08:18 PM
RE: QCM project help - by Vi-Sion - 01-11-2017, 01:05 AM
RE: QCM project help - by meow - 01-11-2017, 01:15 AM
RE: QCM project help - by Oni - 01-11-2017, 05:35 AM
RE: QCM project help - by Vi-Sion - 01-11-2017, 12:43 PM
RE: QCM project help - by Pikami - 01-11-2017, 09:19 PM
RE: QCM project help - by Vi-Sion - 01-11-2017, 09:39 PM
RE: QCM project help - by Pikami - 01-11-2017, 09:51 PM
RE: QCM project help - by meow - 01-12-2017, 12:50 AM
RE: QCM project help - by Vi-Sion - 01-12-2017, 12:59 PM
RE: QCM project help - by Vi-Sion - 01-12-2017, 03:39 PM
RE: QCM project help - by Pikami - 01-12-2017, 04:16 PM
RE: QCM project help - by Vi-Sion - 01-12-2017, 08:42 PM
RE: QCM project help - by Pikami - 01-12-2017, 09:57 PM
RE: QCM project help - by Vi-Sion - 01-14-2017, 05:18 PM