Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: run under CScript Pin
David Crow26-Mar-10 4:54
David Crow26-Mar-10 4:54 
QuestionMigrate a dll from 32bit to 64bit OS Pin
002comp25-Mar-10 20:02
002comp25-Mar-10 20:02 
AnswerRe: Migrate a dll from 32bit to 64bit OS Pin
«_Superman_»25-Mar-10 21:00
professional«_Superman_»25-Mar-10 21:00 
GeneralRe: Migrate a dll from 32bit to 64bit OS Pin
002comp25-Mar-10 22:16
002comp25-Mar-10 22:16 
GeneralRe: Migrate a dll from 32bit to 64bit OS Pin
«_Superman_»25-Mar-10 22:19
professional«_Superman_»25-Mar-10 22:19 
GeneralRe: Migrate a dll from 32bit to 64bit OS Pin
002comp26-Mar-10 1:39
002comp26-Mar-10 1:39 
AnswerRe: Migrate a dll from 32bit to 64bit OS Pin
sashoalm25-Mar-10 22:39
sashoalm25-Mar-10 22:39 
GeneralRe: Migrate a dll from 32bit to 64bit OS Pin
002comp26-Mar-10 0:04
002comp26-Mar-10 0:04 
Questionmsflexgrid headers Pin
Member 59031025-Mar-10 19:41
Member 59031025-Mar-10 19:41 
QuestionHow do I Parse the Serial Data Recieved from the Serial Port Pin
Jimmie Sypolt25-Mar-10 17:19
Jimmie Sypolt25-Mar-10 17:19 
AnswerRe: How do I Parse the Serial Data Recieved from the Serial Port Pin
loyal ginger25-Mar-10 18:08
loyal ginger25-Mar-10 18:08 
AnswerRe: How do I Parse the Serial Data Recieved from the Serial Port Pin
KingsGambit25-Mar-10 18:33
KingsGambit25-Mar-10 18:33 
GeneralRe: How do I Parse the Serial Data Recieved from the Serial Port Pin
Jimmie Sypolt25-Mar-10 20:15
Jimmie Sypolt25-Mar-10 20:15 
GeneralRe: How do I Parse the Serial Data Recieved from the Serial Port Pin
KingsGambit25-Mar-10 20:36
KingsGambit25-Mar-10 20:36 
QuestionRe: How do I Parse the Serial Data Recieved from the Serial Port Pin
David Crow26-Mar-10 4:57
David Crow26-Mar-10 4:57 
Questionconstructor and destructor [modified] Pin
zakria8125-Mar-10 15:43
zakria8125-Mar-10 15:43 
AnswerRe: constructor and destructor Pin
hanq_3891013025-Mar-10 16:51
hanq_3891013025-Mar-10 16:51 
Actually, I think the design of your class "ThreeD" is terrible.
If you are sure to implement it, the follow is for you.

class ThreeD
{
public:
ThreeD(int _l=5, int _w=5, int _d=5)
: l(_l), w(_w), d(_d)
{
data = new int**[l];
for (int i=0; i<l; ++i)
{
data[i] = new int*[w];
for (int j=0; j<w; ++j)
{
data[i][j] = new int[d];
memset(data[i][j], 0, d*sizeof(int));
}
}
}
~ThreeD()
{
for (int i=0; i<l; ++i)
{
for (int j=0; j<w; ++j)
{
delete [] (data[i][j]);
}
delete [] (data[i]);
}
delete [] data;
}

private:
int*** data;
int l, w, d;
};
AnswerRe: constructor and destructor Pin
David Crow26-Mar-10 4:59
David Crow26-Mar-10 4:59 
QuestionDisplay current time as Label control text Pin
Lucidation25-Mar-10 12:14
Lucidation25-Mar-10 12:14 
AnswerRe: Display current time as Label control text Pin
Peter_in_278025-Mar-10 16:23
professionalPeter_in_278025-Mar-10 16:23 
GeneralRe: Display current time as Label control text Pin
loyal ginger25-Mar-10 18:10
loyal ginger25-Mar-10 18:10 
AnswerRe: Display current time as Label control text Pin
BIJU Manjeri25-Mar-10 18:00
BIJU Manjeri25-Mar-10 18:00 
AnswerRe: Display current time as Label control text Pin
loyal ginger25-Mar-10 18:15
loyal ginger25-Mar-10 18:15 
GeneralRe: Display current time as Label control text Pin
Cool_Dev26-Mar-10 3:35
Cool_Dev26-Mar-10 3:35 
GeneralRe: Display current time as Label control text Pin
Lucidation26-Mar-10 5:31
Lucidation26-Mar-10 5:31 

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.