C/C++ code in Unix environment