prog.cpp: In function ‘int set_val(char**)’:
prog.cpp:3: error: ‘malloc’ was not declared in this scope
prog.cpp:7: error: ‘printf’ was not declared in this scope
prog.cpp: In function ‘int main()’:
prog.cpp:13: error: ‘NULL’ was not declared in this scope
prog.cpp:15: error: ‘printf’ was not declared in this scope