I agree with Philip that it is not generally worthwhile trying to translate between languages. Often I am asked to include C code in C++ programs. I either use the code directly or use extern "C". Once in awhile I adjust function headers. All of my cluster programming is done in C++ but I frequently simply add C code to those programs with little to no "translation". The following book has a good appendix that compares C and C++ code as you make the transition. Lippman, Stanley B. (1992, Apr). C++ PRIMER, 2nd edition. Reading, MA: Addison-Wesley, copyright held by AT&T Bell Labs. The following website offers comparisons of C and C++. http://www.cs.utah.edu/classes/cs3500-alee/labs/lab11/