Results 1 to 12 of 12
Thread: C/C++ file?
Hybrid View
-
5th January 2007 12:33 #1
C/C++ file?
file? , /rw, r+, etc./ string , . "The brown fox" "quick ", "The " "The quick fox". Insert Word/Excel... "The quick brown fox"...
? brown , quick brown . . - ?
++ .
-
5th January 2007 12:58 #2
-
5th January 2007 13:16 #3
-
5th January 2007 14:25 #4
E . . .
: XaMaB; . 0.42
In God we Trust (all others must submit a X.509 certificate). , ()
-
5th January 2007 15:13 #5
-
5th January 2007 17:22 #6
, .
string file, ? malloc-, . - char sRead[5000] , , 5000 , .
string malloc(sizeof((char)*LettersNumber)), . a fscanf_s ? fscanf_s(File,"%s",char sTemp[]);
Last edited by moridinbg; 5th January 2007 at 18:02.
-
5th January 2007 18:20 #7
Last edited by anrieff; 5th January 2007 at 18:20. Reason:
, . .
"640K ught to be enough for anybody" - Bill Gates, 1981
::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel
-
5th January 2007 22:14 #8
. /++. ++ .

,
1. .
2. . .
3. .
4. sizeof(char)*( +1) //+1 /0
5. , .
6. , ,
-
6th January 2007 12:31 #9
moridinbg, , , - . ...
1. , fseek()- ftell() ;
2. ;
3. rewind()- ;
4. fread();
5. parse- ( )
, ,
, . .
"640K ught to be enough for anybody" - Bill Gates, 1981
::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel
-
7th January 2007 13:08 #10
-
7th January 2007 14:10 #11
- File mapping, , , , , , . ?
http://msdn2.microsoft.com/en-us/library/aa366556.aspxEVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
7th January 2007 14:28 #12
- C++ iostreams. - memory-mapped files. Bombera low-level API- , - , Boost.Interprocess.




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in