+ 3

Anybody knows when fopen("file.txt","r") is useful?

16th Feb 2016, 5:14 AM
Masoud Farmani
Masoud Farmani - avatar
9 Respostas
+ 4
salam dadash, agha javab soal zir chi misheh : char* p = "SoloLearn"; cout << *(p+5); ???
10th Dec 2016, 9:22 AM
Mohammad Zarchi
Mohammad Zarchi - avatar
+ 3
Salam ...mishe harfe 'e'...
10th Dec 2016, 9:26 AM
Masoud Farmani
Masoud Farmani - avatar
+ 2
It is useful when you have a file which you don't want to edit, just read and use it's contents.
12th Apr 2016, 1:42 PM
Dominik Thomas
Dominik Thomas - avatar
+ 2
it can be used to index data from files
19th Oct 2016, 10:10 AM
Ben Ntabo
Ben Ntabo - avatar
+ 2
damet garm ...
10th Dec 2016, 9:28 AM
Mohammad Zarchi
Mohammad Zarchi - avatar
+ 1
to read for example only The first line from a big file
24th Apr 2016, 12:26 PM
Max Kaiser
Max Kaiser - avatar
+ 1
when you open a file with read only previledges
5th May 2016, 10:17 AM
Ben
Ben - avatar
+ 1
To read a Particular File
13th Jan 2017, 6:04 AM
Harsh
Harsh - avatar
+ 1
It is useful when you want to only read the content of the file and nothing else.
30th Jan 2017, 3:00 PM
Sonveer Singh
Sonveer Singh - avatar