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

C / C++ / MFC

 
GeneralRe: string concatenation using pointer Pin
hrishiS6-May-09 23:17
hrishiS6-May-09 23:17 
GeneralRe: string concatenation using pointer Pin
_AnsHUMAN_ 6-May-09 23:24
_AnsHUMAN_ 6-May-09 23:24 
GeneralRe: string concatenation using pointer Pin
hrishiS6-May-09 23:39
hrishiS6-May-09 23:39 
AnswerRe: string concatenation using pointer Pin
rrrado6-May-09 23:18
rrrado6-May-09 23:18 
GeneralRe: string concatenation using pointer Pin
hrishiS6-May-09 23:19
hrishiS6-May-09 23:19 
AnswerRe: string concatenation using pointer Pin
CPallini6-May-09 23:23
mveCPallini6-May-09 23:23 
GeneralRe: string concatenation using pointer Pin
hrishiS6-May-09 23:34
hrishiS6-May-09 23:34 
GeneralRe: string concatenation using pointer Pin
CPallini6-May-09 23:45
mveCPallini6-May-09 23:45 
Well you may allocate a predefined amount of memory (on statistical grounds) and then reallocate (for instance, in C language, you may use malloc and realloc) a bigger size if needed.


BTW: you know, there are C runtime library functions for the purpose of concatenating strings.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: string concatenation using pointer Pin
hrishiS6-May-09 23:49
hrishiS6-May-09 23:49 
GeneralRe: string concatenation using pointer Pin
hrishiS6-May-09 23:50
hrishiS6-May-09 23:50 
GeneralRe: string concatenation using pointer Pin
CPallini6-May-09 23:56
mveCPallini6-May-09 23:56 
GeneralRe: string concatenation using pointer Pin
hrishiS7-May-09 0:07
hrishiS7-May-09 0:07 
GeneralRe: string concatenation using pointer Pin
Stuart Dootson6-May-09 23:56
professionalStuart Dootson6-May-09 23:56 
QuestionRe: string concatenation using pointer Pin
Divyang Mithaiwala6-May-09 23:27
Divyang Mithaiwala6-May-09 23:27 
QuestionRe: string concatenation using pointer Pin
CPallini6-May-09 23:33
mveCPallini6-May-09 23:33 
AnswerRe: string concatenation using pointer Pin
_AnsHUMAN_ 6-May-09 23:39
_AnsHUMAN_ 6-May-09 23:39 
AnswerRe: string concatenation using pointer Pin
hrishiS6-May-09 23:41
hrishiS6-May-09 23:41 
GeneralRe: string concatenation using pointer Pin
Divyang Mithaiwala6-May-09 23:45
Divyang Mithaiwala6-May-09 23:45 
AnswerRe: string concatenation using pointer Pin
Fatbuddha 17-May-09 0:00
Fatbuddha 17-May-09 0:00 
Questionconvert delphi to c++ builder Pin
raj15766-May-09 22:49
raj15766-May-09 22:49 
AnswerRe: convert delphi to c++ builder Pin
Stuart Dootson6-May-09 23:53
professionalStuart Dootson6-May-09 23:53 
GeneralRe: convert delphi to c++ builder Pin
raj15767-May-09 0:45
raj15767-May-09 0:45 
GeneralRe: convert delphi to c++ builder Pin
Stuart Dootson7-May-09 1:06
professionalStuart Dootson7-May-09 1:06 
GeneralRe: convert delphi to c++ builder Pin
raj15767-May-09 1:12
raj15767-May-09 1:12 
GeneralRe: convert delphi to c++ builder Pin
Stuart Dootson7-May-09 1:37
professionalStuart Dootson7-May-09 1:37 

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.