Click here to Skip to main content
15,918,168 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: string size according to user's input Pin
toxcct9-Aug-07 0:31
toxcct9-Aug-07 0:31 
AnswerRe: string size according to user's input Pin
Maynka9-Aug-07 0:24
Maynka9-Aug-07 0:24 
AnswerRe: string size according to user's input Pin
Ranjoy Guha9-Aug-07 0:29
Ranjoy Guha9-Aug-07 0:29 
GeneralRe: string size according to user's input Pin
dona jain9-Aug-07 0:35
dona jain9-Aug-07 0:35 
GeneralRe: string size according to user's input Pin
toxcct9-Aug-07 0:36
toxcct9-Aug-07 0:36 
GeneralRe: string size according to user's input Pin
jhwurmbach9-Aug-07 0:47
jhwurmbach9-Aug-07 0:47 
GeneralRe: string size according to user's input Pin
dona jain9-Aug-07 0:58
dona jain9-Aug-07 0:58 
GeneralRe: string size according to user's input Pin
jhwurmbach9-Aug-07 1:02
jhwurmbach9-Aug-07 1:02 
Do you get them blockwise or char by char?
For blocks, a linked list of blocksized buffers would be the way to go.
For single chars, you could assemble blocks by yourself (get chars until you have, say, 512 and then add this buffer to your linked list and make a new buffer of size 512).

Note that there must be any amount of ready-made solutions for that on *specialized C-Programming pages*. Not in the C++/MFC forum of Codeproject.



Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words

QuestionRe: string size according to user's input Pin
David Crow9-Aug-07 3:21
David Crow9-Aug-07 3:21 
Questionchat window to chat urgent please ? Pin
p_8-Aug-07 23:51
p_8-Aug-07 23:51 
AnswerThat would make about EUR100 per hour. Pin
jhwurmbach9-Aug-07 0:00
jhwurmbach9-Aug-07 0:00 
GeneralRe: That would make about EUR100 per hour. Pin
p_9-Aug-07 0:04
p_9-Aug-07 0:04 
Answeryes, certainly. here Pin
toxcct9-Aug-07 0:14
toxcct9-Aug-07 0:14 
GeneralRe: yes, certainly. here Pin
p_9-Aug-07 0:29
p_9-Aug-07 0:29 
GeneralRe: yes, certainly. here Pin
tyagineha9-Aug-07 0:41
tyagineha9-Aug-07 0:41 
GeneralRe: yes, certainly. here Pin
p_9-Aug-07 0:58
p_9-Aug-07 0:58 
AnswerRe: chat window to chat urgent please ? Pin
SnaKeBeD9-Aug-07 2:29
SnaKeBeD9-Aug-07 2:29 
GeneralRe: chat window to chat urgent please ? Pin
p_9-Aug-07 21:12
p_9-Aug-07 21:12 
QuestionRe: chat window to chat urgent please ? Pin
David Crow9-Aug-07 3:23
David Crow9-Aug-07 3:23 
QuestionUser breakpoint called from code at 0x77f813b1 Pin
Rajasegar8-Aug-07 23:31
Rajasegar8-Aug-07 23:31 
AnswerRe: User breakpoint called from code at 0x77f813b1 Pin
toxcct8-Aug-07 23:41
toxcct8-Aug-07 23:41 
GeneralRe: User breakpoint called from code at 0x77f813b1 Pin
Rajasegar8-Aug-07 23:43
Rajasegar8-Aug-07 23:43 
General[Message Deleted] Pin
toxcct8-Aug-07 23:47
toxcct8-Aug-07 23:47 
GeneralRe: User breakpoint called from code at 0x77f813b1 Pin
Mark Salsbery9-Aug-07 5:56
Mark Salsbery9-Aug-07 5:56 
GeneralRe: User breakpoint called from code at 0x77f813b1 Pin
Stephen Hewitt9-Aug-07 20:09
Stephen Hewitt9-Aug-07 20:09 

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.