Click here to Skip to main content
16,006,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow would you go about setting up an array? Pin
1-May-02 4:51
suss1-May-02 4:51 
AnswerRe: how would you go about setting up an array? Pin
1-May-02 4:57
suss1-May-02 4:57 
AnswerRe: how would you go about setting up an array? Pin
Derek Smigelski1-May-02 5:13
Derek Smigelski1-May-02 5:13 
GeneralRe: how would you go about setting up an array? Pin
1-May-02 6:07
suss1-May-02 6:07 
GeneralRe: how would you go about setting up an array? Pin
Brian Delahunty1-May-02 8:22
Brian Delahunty1-May-02 8:22 
GeneralRe: how would you go about setting up an array? Pin
Brian Delahunty1-May-02 8:24
Brian Delahunty1-May-02 8:24 
GeneralRe: how would you go about setting up an array? Pin
Jeremy Falcon1-May-02 8:38
professionalJeremy Falcon1-May-02 8:38 
GeneralRe: how would you go about setting up an array? Pin
Peter Liddle1-May-02 11:30
Peter Liddle1-May-02 11:30 
Hey

What you need to do is just define the inputs in one big list no need for {} after every 12 the compiler automatically assigns the first 12 to teh first array of 12 then the next 12 to the next and so on.

Peter

Do it like this char array[12][12]={'L','A','Y','Z','E','I','T','H','S','J','H','R','B','C','Q','Q','U','K','H','L','J','D','A','T'};

AnswerRe: how would you go about setting up an array? Pin
Jeremy Falcon1-May-02 6:27
professionalJeremy Falcon1-May-02 6:27 
GeneralRe: how would you go about setting up an array? Pin
1-May-02 6:43
suss1-May-02 6:43 
GeneralRe: how would you go about setting up an array? Pin
1-May-02 6:54
suss1-May-02 6:54 
GeneralRe: how would you go about setting up an array? Pin
Jeremy Falcon1-May-02 7:15
professionalJeremy Falcon1-May-02 7:15 
GeneralRe: how would you go about setting up an array? Pin
Jasmin Khan1-May-02 7:32
Jasmin Khan1-May-02 7:32 
GeneralRe: how would you go about setting up an array? Pin
Jeremy Falcon1-May-02 8:17
professionalJeremy Falcon1-May-02 8:17 
GeneralRe: how would you go about setting up an array? Pin
1-May-02 6:54
suss1-May-02 6:54 
GeneralRe: how would you go about setting up an array? Pin
Nick Parker1-May-02 6:56
protectorNick Parker1-May-02 6:56 
QuestionCalling Process ? Pin
ssirisha1-May-02 4:35
ssirisha1-May-02 4:35 
AnswerRe: Calling Process ? Pin
David Viggiano1-May-02 5:04
David Viggiano1-May-02 5:04 
GeneralRe: Calling Process ? Pin
David Viggiano1-May-02 5:09
David Viggiano1-May-02 5:09 
GeneralThanks Pin
ssirisha1-May-02 6:24
ssirisha1-May-02 6:24 
GeneralRe: count digits in an integer type Pin
ssirisha1-May-02 4:16
ssirisha1-May-02 4:16 
GeneralRe: count digits in an integer type Pin
ssirisha1-May-02 4:27
ssirisha1-May-02 4:27 
GeneralRe: count digits in an integer type Pin
1-May-02 4:27
suss1-May-02 4:27 
GeneralRe: count digits in an integer type Pin
1-May-02 4:32
suss1-May-02 4:32 
GeneralRe: count digits in an integer type Pin
Vivek Rajan1-May-02 4:50
Vivek Rajan1-May-02 4:50 

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.