By default, the compiler recognizes .cc, .cpp, and .cxx files as C++ files. In examples, this documentation uses the .cpp extension for C++ files. The compiler recognizes files with the .i and .c extensions as C files. Also, the Intel® C++ Compiler recognizes the default filename extensions listed in the table below.
| Filename | Interpretation | Action |
|---|---|---|
| filename.a | object library | Passed to linker |
| filename.i | C or C++ source preprocessed and expanded by the C++ preprocessor | Passed to compiler |
| filename.o | compiled object module | Passed to linker |
| filename.s | assembly file | Assembled by the assembler |