Click here to Skip to main content
15,887,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: what is the maximum combination for generate random string of given length? Pin
Rajesh R Subramanian5-Jul-11 0:55
professionalRajesh R Subramanian5-Jul-11 0:55 
AnswerRe: what is the maximum combination for generate random string of given length? Pin
T.RATHA KRISHNAN5-Jul-11 1:03
T.RATHA KRISHNAN5-Jul-11 1:03 
AnswerRe: what is the maximum combination for generate random string of given length? Pin
enhzflep5-Jul-11 1:53
enhzflep5-Jul-11 1:53 
QuestionRegarding - Compression and uncompression algarthm source code in c Pin
Jayasreeg4-Jul-11 23:32
Jayasreeg4-Jul-11 23:32 
AnswerRe: Regarding - Compression and uncompression algarthm source code in c Pin
Richard MacCutchan5-Jul-11 0:16
mveRichard MacCutchan5-Jul-11 0:16 
AnswerRe: Regarding - Compression and uncompression algarthm source code in c Pin
Chris Losinger5-Jul-11 5:17
professionalChris Losinger5-Jul-11 5:17 
QuestionReadFile operation Pin
MKC0024-Jul-11 22:27
MKC0024-Jul-11 22:27 
AnswerRe: ReadFile operation Pin
enhzflep4-Jul-11 22:49
enhzflep4-Jul-11 22:49 
Often times, when disk-io needs to be sped-up there are gains to be made in the way that the data is accessed -but not so much (if any gain) available in the function used to get that data.

For example - if you have (say)a million pieces of data stored in a file, it's a better(faster) option to use ReadFile just once and read in the 1,000,000 pieces of data than it is to call the function 1,000,000 times to read 1 piece of data.


Provided you're running in an OS with protected memory (i.e not DOS), no - not practically. You could attempt to write some low level code, but I'd suspect that the folk that wrote that part of windows would be more capable of speed than you. Poke tongue | ;-P


Are you able to elaborate on the conditions in which you're using ReadFile, and the reasons you've come to the conclusion it's slow? It's very likely that algorithmic improvements can be made. Smile | :)
AnswerRe: ReadFile operation Pin
Richard MacCutchan5-Jul-11 0:14
mveRichard MacCutchan5-Jul-11 0:14 
QuestionRe: ReadFile operation Pin
David Crow5-Jul-11 2:52
David Crow5-Jul-11 2:52 
AnswerRe: ReadFile operation Pin
MKC0027-Jul-11 5:26
MKC0027-Jul-11 5:26 
AnswerRe: ReadFile operation Pin
Rolf Kristensen27-Jul-11 12:39
Rolf Kristensen27-Jul-11 12:39 
QuestionHow to communicate with server in vc++? Pin
Le@rner4-Jul-11 20:35
Le@rner4-Jul-11 20:35 
AnswerRe: How to communicate with server in vc++? Pin
Rajesh R Subramanian4-Jul-11 21:00
professionalRajesh R Subramanian4-Jul-11 21:00 
AnswerRe: How to communicate with server in vc++? Pin
T.RATHA KRISHNAN4-Jul-11 21:34
T.RATHA KRISHNAN4-Jul-11 21:34 
GeneralRe: How to communicate with server in vc++? Pin
Le@rner4-Jul-11 21:53
Le@rner4-Jul-11 21:53 
AnswerRe: How to communicate with server in vc++? Pin
T.RATHA KRISHNAN5-Jul-11 0:11
T.RATHA KRISHNAN5-Jul-11 0:11 
AnswerRe: How to communicate with server in vc++? Pin
Albert Holguin5-Jul-11 5:07
professionalAlbert Holguin5-Jul-11 5:07 
AnswerRe: How to communicate with server in vc++? Pin
David W. Young5-Jul-11 6:01
David W. Young5-Jul-11 6:01 
Question“Debug Error! R6010 -abort() has been called”- how to find the error? Pin
huangzhtao4-Jul-11 17:04
huangzhtao4-Jul-11 17:04 
AnswerRe: “Debug Error! R6010 -abort() has been called”- how to find the error? Pin
Richard MacCutchan5-Jul-11 0:12
mveRichard MacCutchan5-Jul-11 0:12 
AnswerRe: “Debug Error! R6010 -abort() has been called”- how to find the error? Pin
Albert Holguin5-Jul-11 5:00
professionalAlbert Holguin5-Jul-11 5:00 
QuestionRe: “Debug Error! R6010 -abort() has been called”- how to find the error? Pin
David Crow5-Jul-11 5:46
David Crow5-Jul-11 5:46 
QuestionHow to initialize a CProgressCtrl object in a CDialog derived object. Pin
Odysseas Z4-Jul-11 8:54
Odysseas Z4-Jul-11 8:54 
QuestionRe: How to initialize a CProgressCtrl object in a CDialog derived object. Pin
Mark Salsbery4-Jul-11 9:01
Mark Salsbery4-Jul-11 9:01 

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.