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

C / C++ / MFC

 
GeneralRe: Critcal Section question Pin
Tom Wright22-Mar-05 7:58
Tom Wright22-Mar-05 7:58 
GeneralRe: Critcal Section question Pin
valikac23-Mar-05 15:39
valikac23-Mar-05 15:39 
QuestionMS Money...how do they do it? Pin
BigZee21-Mar-05 8:29
BigZee21-Mar-05 8:29 
AnswerRe: MS Money...how do they do it? Pin
nlecren21-Mar-05 8:44
nlecren21-Mar-05 8:44 
AnswerRe: MS Money...how do they do it? Pin
Ravi Bhavnani21-Mar-05 9:56
professionalRavi Bhavnani21-Mar-05 9:56 
Generaldouble **abc Pin
TUMB21-Mar-05 7:59
TUMB21-Mar-05 7:59 
GeneralRe: double **abc Pin
David Crow21-Mar-05 8:36
David Crow21-Mar-05 8:36 
GeneralRe: double **abc Pin
toxcct21-Mar-05 22:25
toxcct21-Mar-05 22:25 
what about this :

double d1;
double* d2;
double** d3;
double* d4[];

...?????????

you don't have it ? ok, i'll help you, but you will have to study a bit more the C/C++ language.

double d1; declares d1 as a double. (easy, isn't it ?)

double* d2; declares d2 as a double*, that means pointer to double. this is the same as double *d2;,double*d2; and double * d2;

double** d3; declares d3 as a double** (i'm sure you start understanding), that means pointer to double*, that means in fact pointer to pointer to double. you have it now ? Big Grin | :-D

more difficult, but quite the same as the previous one. Let's see this :
double* d4[]; declares d4 as an array of double*, and as you know, arrays are pointers to the first element. Such code declares so a pointer to pointer to double.

see you Wink | ;)



TOXCCT >>> GEII power
[toxcct][VisualCalc]
GeneralHELP: Printing in a region Pin
Vitaly Tomilov21-Mar-05 6:30
Vitaly Tomilov21-Mar-05 6:30 
GeneralEvent enumeration:compiles,links no output Pin
brilliant10121-Mar-05 5:58
brilliant10121-Mar-05 5:58 
GeneralRe: Event enumeration:compiles,links no output Pin
brilliant10121-Mar-05 6:00
brilliant10121-Mar-05 6:00 
GeneralRe: Event enumeration:compiles,links no output Pin
David Crow21-Mar-05 7:27
David Crow21-Mar-05 7:27 
GeneralHardware enumeration Pin
brilliant10121-Mar-05 5:57
brilliant10121-Mar-05 5:57 
GeneralRe: Hardware enumeration Pin
brilliant10121-Mar-05 5:59
brilliant10121-Mar-05 5:59 
GeneralRe: Hardware enumeration Pin
David Crow21-Mar-05 7:24
David Crow21-Mar-05 7:24 
GeneralCOM Pin
act_x21-Mar-05 4:26
act_x21-Mar-05 4:26 
GeneralRe: COM Pin
Vitaly Tomilov21-Mar-05 6:44
Vitaly Tomilov21-Mar-05 6:44 
GeneralPlease Help Pin
Rassul Yunussov21-Mar-05 3:41
Rassul Yunussov21-Mar-05 3:41 
GeneralToolTip Close button Pin
Gurra_Koo21-Mar-05 3:20
Gurra_Koo21-Mar-05 3:20 
GeneralSerial comms Pin
Karl Lloyd21-Mar-05 3:05
Karl Lloyd21-Mar-05 3:05 
GeneralBorder size Pin
caykahve21-Mar-05 2:35
caykahve21-Mar-05 2:35 
GeneralRe: Border size Pin
Ravi Bhavnani21-Mar-05 3:46
professionalRavi Bhavnani21-Mar-05 3:46 
GeneralRe: Border size Pin
caykahve22-Mar-05 7:34
caykahve22-Mar-05 7:34 
GeneralRe: Border size Pin
Vitaly Tomilov21-Mar-05 6:47
Vitaly Tomilov21-Mar-05 6:47 
Generalload ttf file and use it Pin
JabraJabra21-Mar-05 2:16
JabraJabra21-Mar-05 2:16 

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.