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

C / C++ / MFC

 
GeneralRe: OT Pin
David Crow30-Jan-06 6:12
David Crow30-Jan-06 6:12 
GeneralRe: OT Pin
Eytukan30-Jan-06 7:10
Eytukan30-Jan-06 7:10 
GeneralRe: Loading an array inside a class.. Pin
Rage30-Jan-06 3:45
professionalRage30-Jan-06 3:45 
GeneralRe: Loading an array inside a class.. Pin
David Crow30-Jan-06 3:50
David Crow30-Jan-06 3:50 
GeneralRe: Loading an array inside a class.. Pin
Owner drawn30-Jan-06 16:47
Owner drawn30-Jan-06 16:47 
QuestionAllocating 2D array Pin
hamidreza_buddy29-Jan-06 22:19
hamidreza_buddy29-Jan-06 22:19 
AnswerRe: Allocating 2D array Pin
Owner drawn29-Jan-06 22:28
Owner drawn29-Jan-06 22:28 
GeneralRe: Allocating 2D array Pin
achainard30-Jan-06 0:54
achainard30-Jan-06 0:54 
// long Data [10][5];<br />
<br />
long **pData = NULL;<br />
<br />
try<br />
{<br />
  pData = new ( long * )[10];   // Alloc line.<br />
<br />
  for ( long iLine = 0; iLine < 10; iLine++ )<br />
  {<br />
    pData [iLine ] = new long [5];  // alloc row.<br />
  }<br />
}<br />
catch(...)<br />
{<br />
  // Handle memory error.<br />
}


A++

...
GeneralRe: Allocating 2D array Pin
Owner drawn30-Jan-06 1:03
Owner drawn30-Jan-06 1:03 
GeneralRe: Allocating 2D array Pin
achainard30-Jan-06 7:16
achainard30-Jan-06 7:16 
GeneralRe: Allocating 2D array Pin
Owner drawn30-Jan-06 16:48
Owner drawn30-Jan-06 16:48 
QuestionHow does the window messages flow in MFC? Pin
vikas amin29-Jan-06 22:06
vikas amin29-Jan-06 22:06 
AnswerRe: How does the window messages flow in MFC? Pin
QuickDeveloper29-Jan-06 23:30
QuickDeveloper29-Jan-06 23:30 
GeneralRe: How does the window messages flow in MFC? Pin
Eytukan29-Jan-06 23:49
Eytukan29-Jan-06 23:49 
GeneralRe: How does the window messages flow in MFC? Pin
vikas amin30-Jan-06 0:39
vikas amin30-Jan-06 0:39 
GeneralRe: How does the window messages flow in MFC? Pin
David Crow30-Jan-06 3:11
David Crow30-Jan-06 3:11 
GeneralRe: How does the window messages flow in MFC? Pin
Eytukan30-Jan-06 3:30
Eytukan30-Jan-06 3:30 
QuestionHow to automatically add lines and scroll in CEdit? Pin
Rostfrei29-Jan-06 21:42
Rostfrei29-Jan-06 21:42 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
Stephen Hewitt29-Jan-06 22:04
Stephen Hewitt29-Jan-06 22:04 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
Calc2029-Jan-06 22:05
Calc2029-Jan-06 22:05 
GeneralRe: How to automatically add lines and scroll in CEdit? Pin
Rostfrei29-Jan-06 22:12
Rostfrei29-Jan-06 22:12 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
Owner drawn29-Jan-06 22:06
Owner drawn29-Jan-06 22:06 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
David Crow30-Jan-06 3:12
David Crow30-Jan-06 3:12 
QuestionChecking if a user is in a group Pin
kelprinc29-Jan-06 21:12
kelprinc29-Jan-06 21:12 
AnswerRe: Checking if a user is in a group Pin
David Crow30-Jan-06 3:25
David Crow30-Jan-06 3: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.