Click here to Skip to main content
15,909,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMIN/MAX values of Datatypes Pin
Anonymous7-Dec-02 0:30
Anonymous7-Dec-02 0:30 
GeneralRe: MIN/MAX values of Datatypes Pin
geo_m7-Dec-02 2:09
geo_m7-Dec-02 2:09 
GeneralFile Properties in Windows 2000 Pin
Bats7-Dec-02 0:15
Bats7-Dec-02 0:15 
GeneralRe: File Properties in Windows 2000 Pin
Anonymous7-Dec-02 1:29
Anonymous7-Dec-02 1:29 
GeneralRe: File Properties in Windows 2000 Pin
Anonymous7-Dec-02 1:40
Anonymous7-Dec-02 1:40 
GeneralRe: File Properties in Windows 2000 Pin
Anonymous7-Dec-02 1:52
Anonymous7-Dec-02 1:52 
General* versus ** Pin
verbatin6-Dec-02 23:28
verbatin6-Dec-02 23:28 
GeneralRe: * versus ** Pin
Christian Graus7-Dec-02 0:20
protectorChristian Graus7-Dec-02 0:20 
One is a pointer, the other is a pointer to a pointer.

int * n;

represents the memory address where space is allocated for an int.

int ** n;

represents the memory address which holds a memory address which has enough space for an int. Therefore with a ** you can create a 2D array.

int **n = new int * [20];

for (int i = 0; i < 20; ++i)
n[i] = new int [10];



Christian

No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002

C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002

Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
GeneralRe: * versus ** Pin
verbatin7-Dec-02 4:10
verbatin7-Dec-02 4:10 
GeneralRe: * versus ** Pin
Anonymous7-Dec-02 0:34
Anonymous7-Dec-02 0:34 
GeneralRe: * versus ** Pin
Nitron7-Dec-02 4:46
Nitron7-Dec-02 4:46 
GeneralRe: * versus ** Pin
Alvaro Mendez7-Dec-02 9:28
Alvaro Mendez7-Dec-02 9:28 
GeneralRe: * versus ** Pin
Nitron7-Dec-02 12:27
Nitron7-Dec-02 12:27 
GeneralRe: * versus ** Pin
verbatin10-Dec-02 16:13
verbatin10-Dec-02 16:13 
GeneralRe: * versus ** Pin
Nitron11-Dec-02 5:02
Nitron11-Dec-02 5:02 
GeneralRe: * versus ** Pin
Nitron11-Dec-02 5:06
Nitron11-Dec-02 5:06 
GeneralCannot download so big a Microsoft SDK, for programming GDI+ Pin
Phan Manh Dan6-Dec-02 22:09
Phan Manh Dan6-Dec-02 22:09 
GeneralRe: Cannot download so big a Microsoft SDK, for programming GDI+ Pin
Christian Graus6-Dec-02 22:39
protectorChristian Graus6-Dec-02 22:39 
GeneralRe: Cannot download so big a Microsoft SDK, for programming GDI+ Pin
Jeff Patterson7-Dec-02 11:44
Jeff Patterson7-Dec-02 11:44 
GeneralChange tooltip for close button ... Pin
Neha6-Dec-02 21:09
Neha6-Dec-02 21:09 
GeneralRe: Folder Security Pin
Mazdak7-Dec-02 7:49
Mazdak7-Dec-02 7:49 
GeneralRookie Pin
hassani6-Dec-02 19:52
hassani6-Dec-02 19:52 
GeneralRe: Rookie Pin
Michael Dunn6-Dec-02 20:22
sitebuilderMichael Dunn6-Dec-02 20:22 
GeneralRe: Rookie Pin
Christian Graus6-Dec-02 20:23
protectorChristian Graus6-Dec-02 20:23 
GeneralRe: Rookie Pin
Michael Dunn6-Dec-02 20:28
sitebuilderMichael Dunn6-Dec-02 20:28 

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.