Click here to Skip to main content
15,914,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalspecial characters in static text Pin
8-Feb-02 1:51
suss8-Feb-02 1:51 
GeneralRe: special characters in static text Pin
Roger Allen8-Feb-02 3:20
Roger Allen8-Feb-02 3:20 
GeneralRe: special characters in static text Pin
8-Feb-02 22:07
suss8-Feb-02 22:07 
Generalno more debugging FAQ. Pin
8-Feb-02 1:43
suss8-Feb-02 1:43 
GeneralRe: no more debugging FAQ. Pin
Atul Dharne8-Feb-02 2:10
Atul Dharne8-Feb-02 2:10 
GeneralRe: no more debugging FAQ. Pin
marouane miftah el kheir8-Feb-02 3:42
marouane miftah el kheir8-Feb-02 3:42 
GeneralRe: no more debugging FAQ. Pin
8-Feb-02 3:42
suss8-Feb-02 3:42 
GeneralRe: no more debugging FAQ. Pin
Volodya Orlenko8-Feb-02 4:04
Volodya Orlenko8-Feb-02 4:04 
Use realloc function.

Example:

<br />
char * flexBuff;<br />
flexBuff = (char *)malloc(1); <font color=green><nobr>// you wanted 1 element initially</nobr></font><br />
flexBuff[0] = 'a';<br />
flexBuff = (char *)realloc((void *)flexBuff, 10);<br />
<font color=green><nobr>// flexBuff[0] still contains 'a', and you have 9 bytes more allocated</nobr></font><br />


Volodya Orlenko,
orlenko [at] hotmail [dot] com
GeneralRe: no more debugging FAQ. Pin
Nish Nishant8-Feb-02 4:16
sitebuilderNish Nishant8-Feb-02 4:16 
GeneralRe: no more debugging FAQ. Pin
Atul Dharne8-Feb-02 4:37
Atul Dharne8-Feb-02 4:37 
GeneralRe: no more debugging FAQ. Pin
Christian Graus8-Feb-02 8:03
protectorChristian Graus8-Feb-02 8:03 
GeneralMain Frame Resizing Problem Pin
Paul A. Howes8-Feb-02 0:20
Paul A. Howes8-Feb-02 0:20 
GeneralRe: Main Frame Resizing Problem Pin
Joaquín M López Muñoz8-Feb-02 1:46
Joaquín M López Muñoz8-Feb-02 1:46 
Generalan advice for a book Pin
Gérald Mercet7-Feb-02 21:32
Gérald Mercet7-Feb-02 21:32 
GeneralRe: an advice for a book Pin
Christian Graus7-Feb-02 21:38
protectorChristian Graus7-Feb-02 21:38 
GeneralRe: an advice for a book Pin
Atul Dharne7-Feb-02 22:55
Atul Dharne7-Feb-02 22:55 
GeneralRe: an advice for a book Pin
Gérald Mercet8-Feb-02 2:07
Gérald Mercet8-Feb-02 2:07 
GeneralRe: an advice for a book Pin
Atul Dharne8-Feb-02 4:26
Atul Dharne8-Feb-02 4:26 
QuestionVisual C++ documentation-where to find? Pin
nikoladsp7-Feb-02 19:39
nikoladsp7-Feb-02 19:39 
AnswerRe: Visual C++ documentation-where to find? Pin
Nish Nishant7-Feb-02 19:49
sitebuilderNish Nishant7-Feb-02 19:49 
AnswerRe: Visual C++ documentation-where to find? Pin
Jon Sagara7-Feb-02 20:08
Jon Sagara7-Feb-02 20:08 
GeneralControls 2 Views Pin
alex.barylski7-Feb-02 19:20
alex.barylski7-Feb-02 19:20 
GeneralRe: Controls 2 Views Pin
Michael Dunn7-Feb-02 19:55
sitebuilderMichael Dunn7-Feb-02 19:55 
GeneralRe: Controls 2 Views Pin
alex.barylski7-Feb-02 20:56
alex.barylski7-Feb-02 20:56 
GeneralComputer name & DNS name Pin
Yamuna7-Feb-02 18:55
Yamuna7-Feb-02 18:55 

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.