Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: TransmitFile API Pin
Suren21-Nov-02 22:27
Suren21-Nov-02 22:27 
GeneralRe: TransmitFile API Pin
Joao Vaz22-Nov-02 1:09
Joao Vaz22-Nov-02 1:09 
Questionhelp!! how to multi-process? Pin
gab@work21-Nov-02 21:06
gab@work21-Nov-02 21:06 
AnswerRe: help!! how to multi-process? Pin
Joao Vaz21-Nov-02 22:17
Joao Vaz21-Nov-02 22:17 
GeneralResizing an array in C Pin
Kevin Power21-Nov-02 20:42
Kevin Power21-Nov-02 20:42 
GeneralRe: Resizing an array in C Pin
jhwurmbach21-Nov-02 20:54
jhwurmbach21-Nov-02 20:54 
GeneralRe: Resizing an array in C Pin
Roger Allen21-Nov-02 21:33
Roger Allen21-Nov-02 21:33 
GeneralRe: Resizing an array in C Pin
Anonymous21-Nov-02 22:41
Anonymous21-Nov-02 22:41 
Kevin Power wrote:
I need to read strings from a file into an array, but I need to be able to resize it if it goes over 'x' elements or if I don't fill up 'x' elements, I can free the remaining unused elements.

My advice is using a std::vector and do not hazzle with handcoded stuff here. STL is highly effective and will fullfill your digital needs here. std::vector will automatic realocate if needed, and with the swap trick (see 'Effective STL' from Scott Meyers) you can free unneeded capacity.

Hope it helps. Smile | :)
GeneralRe: Resizing an array in C Pin
Kevin Power22-Nov-02 21:23
Kevin Power22-Nov-02 21:23 
GeneralRe: Resizing an array in C Pin
KarstenK22-Nov-02 1:30
mveKarstenK22-Nov-02 1:30 
GeneralRe: Resizing an array in C Pin
uwemundry22-Nov-02 17:50
sussuwemundry22-Nov-02 17:50 
GeneralCreateWindow in dll Pin
suresh_sathya21-Nov-02 20:23
suresh_sathya21-Nov-02 20:23 
QuestionHow to access protected member of CDockBar Pin
MaTrIX2k221-Nov-02 19:40
MaTrIX2k221-Nov-02 19:40 
AnswerRe: How to access protected member of CDockBar Pin
Christian Graus21-Nov-02 20:23
protectorChristian Graus21-Nov-02 20:23 
GeneralRe: How to access protected member of CDockBar Pin
MaTrIX2k222-Nov-02 7:37
MaTrIX2k222-Nov-02 7:37 
GeneralRe: How to access protected member of CDockBar Pin
Christian Graus22-Nov-02 9:37
protectorChristian Graus22-Nov-02 9:37 
GeneralRe: How to access protected member of CDockBar Pin
MaTrIX2k222-Nov-02 17:25
MaTrIX2k222-Nov-02 17:25 
GeneralRe: How to access protected member of CDockBar Pin
Christian Graus22-Nov-02 17:27
protectorChristian Graus22-Nov-02 17:27 
GeneralRe: How to access protected member of CDockBar Pin
MaTrIX2k222-Nov-02 17:29
MaTrIX2k222-Nov-02 17:29 
GeneralRe: How to access protected member of CDockBar Pin
Christian Graus22-Nov-02 17:33
protectorChristian Graus22-Nov-02 17:33 
Questionhow i can enter date of birth in access record through ADO Pin
kami39421-Nov-02 19:13
kami39421-Nov-02 19:13 
GeneralWin32 Functions in MAPI Developement for sending EMails Pin
kishore102121-Nov-02 18:49
kishore102121-Nov-02 18:49 
GeneralFirewall in C++ Pin
SatyaKiran21-Nov-02 18:39
SatyaKiran21-Nov-02 18:39 
GeneralRe: Firewall in C++ Pin
Christian Graus21-Nov-02 20:23
protectorChristian Graus21-Nov-02 20:23 
GeneralRe: Firewall in C++ Pin
Michael P Butler21-Nov-02 20:25
Michael P Butler21-Nov-02 20:25 

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.