prog.cpp: In function 'void genRandSeq(int*)':
prog.cpp:40:5: error: 'srand' is not a member of 'std'
std::srand(std::time(0));
^
prog.cpp:40:16: error: 'time' is not a member of 'std'
std::srand(std::time(0));
^
prog.cpp:41:24: error: 'SIZE' was not declared in this scope
for(int i = 0; i < SIZE; i++)
^
prog.cpp:42:20: error: 'rand' is not a member of 'std'
array[i] = std::rand();
^
prog.cpp: In function 'int main()':
prog.cpp:47:13: error: 'SIZE' was not declared in this scope
int seq[SIZE];
^
prog.cpp:48:16: error: 'seq' was not declared in this scope
genRandSeq(seq);
^
prog.cpp:53:9: error: 'cout' is not a member of 'std'
std::cout << seq[i] << " ";
^
prog.cpp:54:5: error: 'cout' is not a member of 'std'
std::cout << std::endl;
^
prog.cpp:54:18: error: 'endl' is not a member of 'std'
std::cout << std::endl;
^
prog.cpp:57:5: error: 'cin' is not a member of 'std'
std::cin >> pause;
^