fork(3) download
  1. //Генерация частично упорядоченной последовательности
  2. void genPartiallyOrderedSeq(int *array){
  3. int n = sizeof(array) / sizeof(array[0]);
  4. std::cout << std::endl;
  5. std::cout << n << std::endl;
  6. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'void genPartiallyOrderedSeq(int*)':
prog.cpp:4:2: error: 'cout' is not a member of 'std'
  std::cout << std::endl;
  ^
prog.cpp:4:15: error: 'endl' is not a member of 'std'
  std::cout << std::endl;
               ^
prog.cpp:5:2: error: 'cout' is not a member of 'std'
  std::cout << n << std::endl;
  ^
prog.cpp:5:20: error: 'endl' is not a member of 'std'
  std::cout << n << std::endl;
                    ^
stdout
Standard output is empty