Click here to Skip to main content
15,888,590 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOffice XP style menu (non-MFC) Pin
Defenestration4-Aug-05 23:40
Defenestration4-Aug-05 23:40 
GeneralRe: Office XP style menu (non-MFC) Pin
toxcct4-Aug-05 23:53
toxcct4-Aug-05 23:53 
Generalwriting datetime in TextBox Pin
rajeevktripathi4-Aug-05 23:31
rajeevktripathi4-Aug-05 23:31 
GeneralRe: writing datetime in TextBox Pin
Marc Soleda4-Aug-05 23:40
Marc Soleda4-Aug-05 23:40 
GeneralRe: writing datetime in TextBox Pin
rajeevktripathi5-Aug-05 0:40
rajeevktripathi5-Aug-05 0:40 
GeneralRe: writing datetime in TextBox Pin
Marc Soleda5-Aug-05 3:38
Marc Soleda5-Aug-05 3:38 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Bob Stanneveld5-Aug-05 0:50
Bob Stanneveld5-Aug-05 0:50 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Sreekanth Muralidharan5-Aug-05 22:54
Sreekanth Muralidharan5-Aug-05 22:54 
Hi I am more specific here:

char* buff = new buff[5];<br />
buff[0] = 'a';<br />
buff[1] = '\0'; // I want this also to be displayed on the next printf()<br />
buff[2] = 'b';<br />
printf(buff); // Should be a b and should not be a only<br />
if(buff)<br />
delete [] buff;

Any solutions?

Regards

Sreekanth Muralidharan,
Corporate Systems Consultant [Embedded Systems],
INDIA
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Bob Stanneveld7-Aug-05 1:24
Bob Stanneveld7-Aug-05 1:24 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Tim Smith5-Aug-05 3:15
Tim Smith5-Aug-05 3:15 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Tim Smith5-Aug-05 3:16
Tim Smith5-Aug-05 3:16 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
ThatsAlok5-Aug-05 3:16
ThatsAlok5-Aug-05 3:16 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Tim Smith5-Aug-05 3:26
Tim Smith5-Aug-05 3:26 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Abebe5-Aug-05 3:38
Abebe5-Aug-05 3:38 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
ThatsAlok5-Aug-05 20:21
ThatsAlok5-Aug-05 20:21 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Sreekanth Muralidharan10-Aug-05 23:07
Sreekanth Muralidharan10-Aug-05 23:07 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Sreekanth Muralidharan5-Aug-05 23:11
Sreekanth Muralidharan5-Aug-05 23:11 
GeneralRe: EMERGENCY !! Project in crash landing !! Pin
Trollslayer5-Aug-05 4:03
mentorTrollslayer5-Aug-05 4:03 
Questionwhich one is better? Pin
Smith#4-Aug-05 22:31
Smith#4-Aug-05 22:31 
AnswerRe: which one is better? Pin
Bob Stanneveld4-Aug-05 22:36
Bob Stanneveld4-Aug-05 22:36 
GeneralRe: which one is better? Pin
Smith#4-Aug-05 22:49
Smith#4-Aug-05 22:49 
GeneralRe: which one is better? Pin
Bob Stanneveld5-Aug-05 0:46
Bob Stanneveld5-Aug-05 0:46 
AnswerRe: which one is better? Pin
toxcct4-Aug-05 22:48
toxcct4-Aug-05 22:48 
GeneralRe: which one is better? Pin
Gary R. Wheeler5-Aug-05 15:54
Gary R. Wheeler5-Aug-05 15:54 
AnswerRe: which one is better? Pin
Marc Soleda4-Aug-05 22:54
Marc Soleda4-Aug-05 22:54 

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.