Click here to Skip to main content
16,012,025 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: if IDCANCEL returned in DOMODAL. Pin
David Crow19-Jan-08 11:48
David Crow19-Jan-08 11:48 
GeneralRe: if IDCANCEL returned in DOMODAL. Pin
Paul Conrad19-Jan-08 11:53
professionalPaul Conrad19-Jan-08 11:53 
GeneralRe: if IDCANCEL returned in DOMODAL. Pin
Hamid_RT19-Jan-08 19:03
Hamid_RT19-Jan-08 19:03 
Generalsetw issue Pin
gentleguy19-Jan-08 0:48
gentleguy19-Jan-08 0:48 
GeneralRe: setw issue Pin
Don Box19-Jan-08 1:00
Don Box19-Jan-08 1:00 
GeneralRe: setw issue Pin
gentleguy19-Jan-08 1:23
gentleguy19-Jan-08 1:23 
GeneralRe: setw issue Pin
CPallini19-Jan-08 4:37
mveCPallini19-Jan-08 4:37 
GeneralRe: setw issue Pin
gentleguy20-Jan-08 1:11
gentleguy20-Jan-08 1:11 
the code is following:

double a[3][4];

for (int j = 0; j <<10; j++)
{

double a[3][4] = {{(double)rand()/RAND_MAX, (double)rand()/RAND_MAX, (double)rand()/RAND_MAX,( double)rand()/RAND_MAX},{(double)rand()/RAND_MAX,(double)rand()/RAND_MAX,(double)rand()/RAND_MAX,(double)rand()/RAND_MAX},{(double)rand()/RAND_MAX,(double)rand()/RAND_MAX,(double)rand()/RAND_MAX,(double)rand()/RAND_MAX}};

cout<< setw(3)<< "Particle" << setw(3) << j << endl << endl;
for (int i = 0; i<< 3; i++)
{
for (int j = 0; j<< 4; j++)

cout <<setw(3)<< setprecision(6) << fixed << showpoint << a[i][j]<< " ";
cout << endl;

}
cout<< endl;

}
how to save each array a and the setw is not available....

Li Zhiyuan

5/10/2006

GeneralInclude guards vs. pragma Pin
73Zeppelin18-Jan-08 19:58
73Zeppelin18-Jan-08 19:58 
GeneralRe: Include guards vs. pragma Pin
CPallini18-Jan-08 21:32
mveCPallini18-Jan-08 21:32 
GeneralRe: Include guards vs. pragma Pin
73Zeppelin18-Jan-08 22:46
73Zeppelin18-Jan-08 22:46 
GeneralRe: Include guards vs. pragma Pin
peterchen19-Jan-08 9:39
peterchen19-Jan-08 9:39 
GeneralRe: Include guards vs. pragma Pin
Rajesh R Subramanian20-Jan-08 23:27
professionalRajesh R Subramanian20-Jan-08 23:27 
GeneralRe: Include guards vs. pragma Pin
peterchen21-Jan-08 10:03
peterchen21-Jan-08 10:03 
GeneralRe: Include guards vs. pragma Pin
Rajesh R Subramanian21-Jan-08 20:25
professionalRajesh R Subramanian21-Jan-08 20:25 
GeneralRe: Include guards vs. pragma [modified] Pin
Rajesh R Subramanian18-Jan-08 23:41
professionalRajesh R Subramanian18-Jan-08 23:41 
GeneralRe: Include guards vs. pragma Pin
73Zeppelin18-Jan-08 23:59
73Zeppelin18-Jan-08 23:59 
GeneralRe: Include guards vs. pragma Pin
CPallini19-Jan-08 4:43
mveCPallini19-Jan-08 4:43 
QuestionUsing ComboBox in MFC Grid Control Pin
Bhushan198018-Jan-08 15:44
Bhushan198018-Jan-08 15:44 
GeneralRe: Using ComboBox in MFC Grid Control Pin
Hamid_RT18-Jan-08 18:58
Hamid_RT18-Jan-08 18:58 
GeneralRe: Using ComboBox in MFC Grid Control Pin
Bhushan198018-Jan-08 23:38
Bhushan198018-Jan-08 23:38 
GeneralRe: Using ComboBox in MFC Grid Control Pin
Rajesh R Subramanian19-Jan-08 2:44
professionalRajesh R Subramanian19-Jan-08 2:44 
QuestionRe: Using ComboBox in MFC Grid Control Pin
Bhushan198019-Jan-08 9:20
Bhushan198019-Jan-08 9:20 
GeneralRe: Using ComboBox in MFC Grid Control Pin
Rajesh R Subramanian21-Jan-08 20:28
professionalRajesh R Subramanian21-Jan-08 20:28 
GeneralDear all Pin
asmarani18-Jan-08 13:23
asmarani18-Jan-08 13:23 

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.