Click here to Skip to main content
15,917,320 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp required in MFC Pin
RaajaOfSelf22-Apr-03 19:24
RaajaOfSelf22-Apr-03 19:24 
GeneralMFC-ODBC help!!!! Pin
RaajaOfSelf22-Apr-03 19:21
RaajaOfSelf22-Apr-03 19:21 
QuestionA strange CListCtrl Bug ? Pin
brraj22-Apr-03 19:18
brraj22-Apr-03 19:18 
GeneralButton with Icon on it Pin
Exceter22-Apr-03 18:59
Exceter22-Apr-03 18:59 
Generala typical problem Pin
Prog Mmer22-Apr-03 18:52
Prog Mmer22-Apr-03 18:52 
GeneralRe: a typical problem Pin
PJ Arends22-Apr-03 19:29
professionalPJ Arends22-Apr-03 19:29 
GeneralRe: a typical problem Pin
Prog Mmer22-Apr-03 21:43
Prog Mmer22-Apr-03 21:43 
GeneralRe: a typical problem Pin
Prog Mmer22-Apr-03 21:46
Prog Mmer22-Apr-03 21:46 
QuestionHow to highlight items in CTreeCtrl? Pin
Charles Liu22-Apr-03 18:40
Charles Liu22-Apr-03 18:40 
AnswerRe: How to highlight items in CTreeCtrl? Pin
Anonymous22-Apr-03 20:13
Anonymous22-Apr-03 20:13 
GeneralHighlight items in CTreeCtrl Pin
Charles Liu22-Apr-03 18:37
Charles Liu22-Apr-03 18:37 
GeneralRe: Highlight items in CTreeCtrl Pin
Rage22-Apr-03 20:29
professionalRage22-Apr-03 20:29 
GeneralAny body know error 1053 while starting service. Pin
harinath22-Apr-03 18:17
professionalharinath22-Apr-03 18:17 
GeneralRe: Any body know error 1053 while starting service. Pin
harinath22-Apr-03 18:48
professionalharinath22-Apr-03 18:48 
GeneralRe: Any body know error 1053 while starting service. Pin
Anders Molin23-Apr-03 0:56
professionalAnders Molin23-Apr-03 0:56 
GeneralRe: Any body know error 1053 while starting service. Pin
harinath23-Apr-03 1:31
professionalharinath23-Apr-03 1:31 
GeneralMatrices Pin
Albedo22-Apr-03 16:42
Albedo22-Apr-03 16:42 
GeneralRe: Matrices Pin
imsniper23-Apr-03 0:00
imsniper23-Apr-03 0:00 
Taken from MSDN......

Array
An array is a collection of like objects. The simplest case of an array is a vector. C++ provides a convenient syntax for declaration of fixed-size arrays:

Syntax

decl-specifiers dname [ constant-expressionopt ] ;

The number of elements in the array is given by the constant-expression. The first element in the array is the 0th element, and the last element is the (n-1th) element, where n is the size of the array. The constant-expression must be of an integral type and must be greater than 0. A zero-sized array is legal only when the array is the last field in a struct or union and when the Microsoft extensions (/Ze) are enabled.

Arrays are derived types and can therefore be constructed from any other derived or fundamental type except functions, references, and void.

Arrays constructed from other arrays are multidimensional arrays. These multidimensional arrays are specified by placing multiple [ constant-expression ] specifications in sequence. For example, consider this declaration:

int i2[5][7];

It specifies an array of type int, conceptually arranged in a two-dimensional matrix of five rows and seven columns


5 ROWS X 7 COLUMNS!



GeneralRe: Matrices Pin
Albedo23-Apr-03 3:29
Albedo23-Apr-03 3:29 
GeneralRe: Matrices Pin
David Chamberlain23-Apr-03 9:28
David Chamberlain23-Apr-03 9:28 
GeneralData packing libraries Pin
progman22-Apr-03 13:50
progman22-Apr-03 13:50 
GeneralRe: Data packing libraries Pin
imsniper23-Apr-03 21:34
imsniper23-Apr-03 21:34 
GeneralProblem drawing icon with shadow in XP Pin
Mathias S.22-Apr-03 13:22
Mathias S.22-Apr-03 13:22 
GeneralRe: Problem drawing icon with shadow in XP - Solved! Pin
Mathias S.22-Apr-03 22:29
Mathias S.22-Apr-03 22:29 
Generalfloat number comparision Pin
act_x22-Apr-03 11:52
act_x22-Apr-03 11:52 

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.