fork(1) download
  1. String sarray;
  2. int a[3][3]={{1,2,3},{3,2,1},{9,8,7}};
  3. for(int i=0;i<3;i++)
  4. {
  5. for(int j=0;j<3;j++)
  6. {
  7. sarray+=IntToStr(a[i][j])+"\t";
  8.  
  9. }
  10. sarray+="\r\n";
  11.  
  12. }
  13. Memo1->Lines->Add(sarray);
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1: error: ‘String’ does not name a type
prog.cpp:3: error: expected unqualified-id before ‘for’
prog.cpp:3: error: expected constructor, destructor, or type conversion before ‘<’ token
prog.cpp:3: error: expected constructor, destructor, or type conversion before ‘++’ token
stdout
Standard output is empty