Click here to Skip to main content
16,004,919 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionCan you obtain the index in a 'for each' loop Pin
BuckBrown18-Apr-07 7:39
BuckBrown18-Apr-07 7:39 
AnswerRe: Can you obtain the index in a 'for each' loop Pin
George L. Jackson18-Apr-07 11:03
George L. Jackson18-Apr-07 11:03 
AnswerRe: Can you obtain the index in a 'for each' loop Pin
Christian Graus18-Apr-07 11:55
protectorChristian Graus18-Apr-07 11:55 
GeneralRe: Can you obtain the index in a 'for each' loop Pin
Mark Salsbery18-Apr-07 12:25
Mark Salsbery18-Apr-07 12:25 
QuestionlistView column header wont center justify Pin
BuckBrown18-Apr-07 6:19
BuckBrown18-Apr-07 6:19 
AnswerRe: using map container Pin
led mike18-Apr-07 4:45
led mike18-Apr-07 4:45 
Questionhelp with arrays [modified] Pin
klutez12318-Apr-07 3:12
klutez12318-Apr-07 3:12 
AnswerRe: help with arrays Pin
PhillArx18-Apr-07 3:40
PhillArx18-Apr-07 3:40 
Hello

re : nested loops

Your loop should look like this:


for(int i = 0 ; i< 4; i++)

{
for(int j = 0 ; j< 4; j++)
{cout << j*i << " " ;
}
cout<< endl;
}

multiplying the outer loop i with the inner j
seems to get the result;

hope this might help

Phill
QuestionMaking sure answer is correct Data Type Pin
Lasoryth17-Apr-07 10:53
Lasoryth17-Apr-07 10:53 
AnswerRe: Making sure answer is correct Data Type Pin
Christian Graus17-Apr-07 13:12
protectorChristian Graus17-Apr-07 13:12 
QuestionAccessing filesystem Pin
sinosoidal17-Apr-07 3:58
sinosoidal17-Apr-07 3:58 
AnswerRe: Accessing filesystem Pin
Nish Nishant17-Apr-07 4:26
sitebuilderNish Nishant17-Apr-07 4:26 
QuestionCombine multiple text files into one ! Pin
snailflying16-Apr-07 2:24
snailflying16-Apr-07 2:24 
QuestionTo add data row by row to a datagrid Pin
engilela15-Apr-07 18:24
engilela15-Apr-07 18:24 
AnswerRe: To add data row by row to a datagrid Pin
engilela18-Apr-07 20:39
engilela18-Apr-07 20:39 
QuestionSMS RECEPTION in C++ or code Pin
ijazkhattak15-Apr-07 6:00
ijazkhattak15-Apr-07 6:00 
AnswerRe: SMS RECEPTION in C++ or code Pin
Christian Graus15-Apr-07 11:44
protectorChristian Graus15-Apr-07 11:44 
Question[Message Deleted] Pin
sushantkaura14-Apr-07 23:07
sushantkaura14-Apr-07 23:07 
AnswerRe: 8 puzzle,,, Pin
George L. Jackson15-Apr-07 1:08
George L. Jackson15-Apr-07 1:08 
AnswerRe: 8 puzzle,,, Pin
Christian Graus15-Apr-07 11:46
protectorChristian Graus15-Apr-07 11:46 
Questionworking with folders Pin
marc199014-Apr-07 8:53
marc199014-Apr-07 8:53 
AnswerRe: working with folders Pin
Mark Salsbery14-Apr-07 9:03
Mark Salsbery14-Apr-07 9:03 
GeneralRe: working with folders Pin
marc199014-Apr-07 9:05
marc199014-Apr-07 9:05 
GeneralRe: working with folders Pin
Mark Salsbery14-Apr-07 9:10
Mark Salsbery14-Apr-07 9:10 
Questionstruct and lpvoid Pin
ginjikun14-Apr-07 6:56
ginjikun14-Apr-07 6:56 

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.