Question: how to compile .cxx file in unix?
Answer: To get the files to compile, from the menu, select Options / Tools... / CppCompile / Edit / Advanced. Add ". cxx;" to both Translate From and Default For. ... 
To enable "edit on double click", use Options / Tools... / EditText / Edit / Advanced. Add ". cxx;" to both Applies To and Default For.