Click here to Skip to main content
15,880,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Uncaught exception Pin
Maxwell Chen27-Jan-08 21:46
Maxwell Chen27-Jan-08 21:46 
GeneralRe: Uncaught exception Pin
George_George27-Jan-08 22:01
George_George27-Jan-08 22:01 
GeneralRe: Uncaught exception Pin
Maxwell Chen27-Jan-08 22:04
Maxwell Chen27-Jan-08 22:04 
GeneralRe: Uncaught exception Pin
George_George27-Jan-08 22:18
George_George27-Jan-08 22:18 
GeneralRe: Uncaught exception Pin
Maxwell Chen27-Jan-08 22:29
Maxwell Chen27-Jan-08 22:29 
GeneralRe: Uncaught exception Pin
George_George27-Jan-08 22:41
George_George27-Jan-08 22:41 
Generalhelp Pin
gentleguy27-Jan-08 18:04
gentleguy27-Jan-08 18:04 
GeneralRe: help Pin
CPallini27-Jan-08 22:14
mveCPallini27-Jan-08 22:14 
you have to iterate the multiplication on all the array elements, for instance
double a[2][3];
int i,j;
for (i=0; i<2; i++)
  for (j=0; j<3; j++)
    a[i][j]= (double)rand()/RAND_MAX;

//Multiplication of the array by a constant
for (i=0; i<2; i++)
  for (j=0; j<3; j++)
    a[i][j] = 6.0 * a[i][j];


Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


QuestionC++ Pin
rowdy_vc++27-Jan-08 17:49
rowdy_vc++27-Jan-08 17:49 
GeneralRe: C++ Pin
Nitheesh George27-Jan-08 18:05
Nitheesh George27-Jan-08 18:05 
GeneralRe: C++ Pin
rowdy_vc++27-Jan-08 18:15
rowdy_vc++27-Jan-08 18:15 
GeneralRe: C++ Pin
Maxwell Chen27-Jan-08 18:21
Maxwell Chen27-Jan-08 18:21 
GeneralRe: C++ Pin
rowdy_vc++27-Jan-08 18:33
rowdy_vc++27-Jan-08 18:33 
GeneralRe: C++ [modified] Pin
Maxwell Chen27-Jan-08 18:36
Maxwell Chen27-Jan-08 18:36 
GeneralRe: C++ Pin
rowdy_vc++27-Jan-08 18:52
rowdy_vc++27-Jan-08 18:52 
GeneralRe: C++ Pin
rowdy_vc++27-Jan-08 19:10
rowdy_vc++27-Jan-08 19:10 
GeneralRe: C++ Pin
rp_suman27-Jan-08 20:43
rp_suman27-Jan-08 20:43 
GeneralRe: C++ Pin
Maxwell Chen27-Jan-08 21:06
Maxwell Chen27-Jan-08 21:06 
GeneralRe: C++ Pin
rp_suman27-Jan-08 21:12
rp_suman27-Jan-08 21:12 
GeneralWorking with two classes Pin
CodingLover27-Jan-08 17:03
CodingLover27-Jan-08 17:03 
GeneralRe: Working with two classes Pin
Nitheesh George27-Jan-08 17:12
Nitheesh George27-Jan-08 17:12 
GeneralRe: Working with two classes Pin
CodingLover27-Jan-08 17:20
CodingLover27-Jan-08 17:20 
GeneralRe: Working with two classes Pin
Nitheesh George27-Jan-08 17:37
Nitheesh George27-Jan-08 17:37 
GeneralRe: Working with two classes Pin
CodingLover27-Jan-08 17:41
CodingLover27-Jan-08 17:41 
GeneralRe: Working with two classes Pin
Nitheesh George27-Jan-08 18:00
Nitheesh George27-Jan-08 18:00 

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.