Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What to learn: MFC for C++ or Windows API? Pin
Christian Graus27-May-05 1:57
protectorChristian Graus27-May-05 1:57 
GeneralRe: What to learn: MFC for C++ or Windows API? Pin
Bob Stanneveld27-May-05 2:03
Bob Stanneveld27-May-05 2:03 
GeneralRe: What to learn: MFC for C++ or Windows API? Pin
Christian Graus27-May-05 2:17
protectorChristian Graus27-May-05 2:17 
GeneralRe: What to learn: MFC for C++ or Windows API? Pin
Bob Stanneveld27-May-05 2:22
Bob Stanneveld27-May-05 2:22 
AnswerRe: What to learn: MFC for C++ or Windows API? Pin
Bob Stanneveld26-May-05 20:40
Bob Stanneveld26-May-05 20:40 
AnswerRe: What to learn: MFC for C++ or Windows API? Pin
Toby Opferman28-May-05 7:08
Toby Opferman28-May-05 7:08 
GeneralTrouble retrieving File Summary Info from Office and NTFS documents. Pin
awbaker6226-May-05 13:43
awbaker6226-May-05 13:43 
QuestionI/O skipping the buffer??? Pin
knapak26-May-05 13:35
knapak26-May-05 13:35 
Hi guys

I've been consulting with this community regarding the handling of large data files and searching stuff in them. The search process using a multimap works wonderfully. HOWEVER, the actual reading from the disk is painfully long. At some point, somebody said something about not using cout because it abuses the buffer... or something like that. I know you don't use cout to read from a file... but since a stream object from the class ifstream created to read a file
is equivalent to cin... and streams work through the buffer, it still made sense to me that using ifstream may not be the fastest way to read data from disk.
SO... I wonder, is there a faster way to read data from a file that is not using the ifstream? I know that I could use the netCDF system... but I don't have time right now to learn how to use it. So I'm looking for something more direct and simple that is already embedded within C++.

Please, in your response, can you include a simple code to exemplify the use of the alternative?

Thanks a million... you guys rock!!! Suspicious | :suss:


AnswerRe: I/O skipping the buffer??? Pin
Christian Graus26-May-05 14:17
protectorChristian Graus26-May-05 14:17 
GeneralRe: I/O skipping the buffer??? Pin
Anonymous26-May-05 15:15
Anonymous26-May-05 15:15 
GeneralRe: I/O skipping the buffer??? Pin
Christian Graus26-May-05 15:23
protectorChristian Graus26-May-05 15:23 
GeneralToolBar question! Pin
goiania26-May-05 13:28
goiania26-May-05 13:28 
GeneralRe: ToolBar question! Pin
Shog926-May-05 13:43
sitebuilderShog926-May-05 13:43 
GeneralRe: ToolBar question! Pin
goiania26-May-05 14:00
goiania26-May-05 14:00 
Questioncontext menu on form without titlebar? Pin
FreewareFire26-May-05 12:02
FreewareFire26-May-05 12:02 
AnswerRe: context menu on form without titlebar? Pin
FreewareFire27-May-05 10:33
FreewareFire27-May-05 10:33 
Generalsetting different time zone Pin
pnpfriend26-May-05 11:26
pnpfriend26-May-05 11:26 
GeneralRe: setting different time zone Pin
geo_m26-May-05 18:29
geo_m26-May-05 18:29 
GeneralRe: setting different time zone Pin
pnpfriend27-May-05 4:16
pnpfriend27-May-05 4:16 
GeneralRe: setting different time zone Pin
geo_m29-May-05 19:29
geo_m29-May-05 19:29 
GeneralUsing custom buttons in a CToolbar Pin
mckavity26-May-05 10:12
mckavity26-May-05 10:12 
GeneralRe: Using custom buttons in a CToolbar Pin
mckavity26-May-05 10:15
mckavity26-May-05 10:15 
GeneralRe: Using custom buttons in a CToolbar Pin
Shog926-May-05 12:16
sitebuilderShog926-May-05 12:16 
GeneralRe: Using custom buttons in a CToolbar Pin
mckavity27-May-05 3:35
mckavity27-May-05 3:35 
GeneralWM_SETTEXT Desperate Issue Pin
Axonn Echysttas26-May-05 9:50
Axonn Echysttas26-May-05 9:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.