Posts: 4,647
Threads: 1,494
Joined: Sep 2016
what does this mode
really do in
open('foo','ab+')
? does it work only beyond the end of an existing file?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
if + means read and write, why can't it be used alone?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
i'm just seeing it called "read/write". that makes me think it would have read and write modes at the same time. since you can't do 'rw', it would seem like '+' is there to do that. but you have to pick one of 'r' or 'w' to append '+' to really have both.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
i would have called it 'u' or allowed 'rw'. maybe this is why they didn't let me design it :-)
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.