dev.gamez.lv Forum Index dev.gamez.lv
Latvian Game Developers Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 

C++ texta failu parseeshana
Goto page Previous  1, 2
 
dev.gamez.lv Forum Index -> Programmēšana
View previous topic :: View next topic  
Author Message
bubu
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 23 Mar 2004
Posts: 3223
Location: Riga

PostPosted: Sun Feb 19, 2006 2:40 pm    Post subject:

Nu streamam ar tak visu var kontrolēt: streams.read(buferis_kur_ielasīt, max_izmērs_ko_lasīt);
Back to top
View user's profile Send e-mail
elvman
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 09 Apr 2003
Posts: 1278
Location: Kuldiga

PostPosted: Sun Feb 19, 2006 2:46 pm    Post subject:

Nu jaa.Kaa jau es teicu,stream neesmu izmantojis,taapeec nezinu kaa tas darbojas.Bet cik atceros no katukaadaam pamaaciibaam,tad tas bija daudz funkcionaalaaks par vienkaarshu baitu lasiishanu.
_________________
long time; /* know C */
Back to top
View user's profile Visit poster's website
ledusledus



Joined: 31 Jan 2006
Posts: 11

PostPosted: Wed Feb 22, 2006 12:35 am    Post subject:

ifstreams un ofstreams ir stipri leenaaki par fscanf un fprintf (taa vinjus sauc?) failiem.
Ja nu kaads grib pameegjinaat, tad iesaku lasiit stringus no ~10 mb faila. atshkjiriibu gan jau ka varees pamaniit ar laikiem.
_________________
omg
Back to top
View user's profile
Display posts from previous:   
dev.gamez.lv Forum Index -> Programmēšana All times are GMT + 2 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group