Click here to Skip to main content
16,005,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Quadratic equation Pin
ROK_RShadow24-Mar-03 20:35
ROK_RShadow24-Mar-03 20:35 
GeneralRe: Quadratic equation Pin
Roger Wright24-Mar-03 21:17
professionalRoger Wright24-Mar-03 21:17 
GeneralRe: Quadratic equation Pin
ROK_RShadow24-Mar-03 21:28
ROK_RShadow24-Mar-03 21:28 
GeneralRe: Quadratic equation Pin
Roger Wright24-Mar-03 22:07
professionalRoger Wright24-Mar-03 22:07 
QuestionIs there a function to convert a CString value to an integer? Pin
julych24-Mar-03 18:30
julych24-Mar-03 18:30 
AnswerRe: Is there a function to convert a CString value to an integer? Pin
Michael Dunn24-Mar-03 19:10
sitebuilderMichael Dunn24-Mar-03 19:10 
GeneralRe: Is there a function to convert a CString value to an integer? Pin
r i s h a b h s25-Mar-03 17:01
r i s h a b h s25-Mar-03 17:01 
GeneralDynamic allocation of 2-d array using 'new' Pin
natiekyle24-Mar-03 18:05
natiekyle24-Mar-03 18:05 
The following piece of code gives compilation error and i would like to get some ideas as to why.


fn_taking_2d_array(char[][MAX_WIDTH] array_arg)<br />
{<br />
   // Use array_arg like a 2d argument<br />
   // ...<br />
}<br />
<br />
main()<br />
{<br />
   char** list;			// To dynamically allocate<br />
   int length = getLength();	// Dynamically calculated<br />
   list = new char*[length];	<br />
   for (int j = 0; j < length; j++)<br />
   {<br />
      list[j] = new char[MAX_WIDTH];<br />
   }<br />
<br />
   fn_taking_2d_array(list);	// Why does this <br />
                                // give compilation error.<br />
<br />
}


Aren't char** and char[][MAX_WIDTH] ultimately the same? pointer to pointer? It'd be great if i get some thoughts on this..

thanx,
natie.
GeneralRe: Dynamic allocation of 2-d array using 'new' Pin
Nick Parker24-Mar-03 18:20
protectorNick Parker24-Mar-03 18:20 
QuestionHow to find data in database ? Pin
ooosawaddee324-Mar-03 15:21
ooosawaddee324-Mar-03 15:21 
AnswerRe: How to find data in database ? Pin
Anonymous24-Mar-03 15:37
Anonymous24-Mar-03 15:37 
GeneralRe: How to find data in database ? Pin
ooosawaddee324-Mar-03 15:56
ooosawaddee324-Mar-03 15:56 
GeneralRe: How to find data in database ? Pin
Anonymous24-Mar-03 16:14
Anonymous24-Mar-03 16:14 
AnswerRe: How to find data in database ? Pin
Christian Graus24-Mar-03 16:56
protectorChristian Graus24-Mar-03 16:56 
GeneralRe: How to find data in database ? Pin
Nick Parker24-Mar-03 18:24
protectorNick Parker24-Mar-03 18:24 
GeneralHtmlHelp events Pin
trimtrom24-Mar-03 14:54
trimtrom24-Mar-03 14:54 
GeneralRe: HtmlHelp events Pin
Taka Muraoka24-Mar-03 15:02
Taka Muraoka24-Mar-03 15:02 
GeneralCOM Port data transfer Pin
TeraCoder24-Mar-03 13:09
TeraCoder24-Mar-03 13:09 
GeneralRe: COM Port data transfer Pin
Santanu Lahiri24-Mar-03 20:20
Santanu Lahiri24-Mar-03 20:20 
GeneralMessage Handling in Controls instead of Dialog Pin
brigham_young24-Mar-03 13:00
brigham_young24-Mar-03 13:00 
GeneralRe: Message Handling in Controls instead of Dialog Pin
bryce24-Mar-03 14:03
bryce24-Mar-03 14:03 
GeneralRe: Message Handling in Controls instead of Dialog Pin
Alin Negru24-Mar-03 22:02
Alin Negru24-Mar-03 22:02 
QuestionAdd Custom Controls To A Dialog??? Pin
brigham_young24-Mar-03 12:12
brigham_young24-Mar-03 12:12 
AnswerRe: Add Custom Controls To A Dialog??? Pin
Dave Bryant24-Mar-03 12:17
Dave Bryant24-Mar-03 12:17 
GeneralRe: Add Custom Controls To A Dialog??? Pin
brigham_young24-Mar-03 12:18
brigham_young24-Mar-03 12:18 

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.