0

What extention is use for c++

30th Nov 2016, 6:32 PM
Suraj Kumar Choudhary
Suraj Kumar Choudhary - avatar
2 Respostas
0
Your question is not really clear, but I suppose you are referring to file extensions. Source files: the most commonly used extension is '.cpp'. Header files: '.h' or '.hpp'
30th Nov 2016, 7:01 PM
David Barzi
David Barzi - avatar
0
Today this is the practice, most C++implementation files will use the ".cpp" extension and ".h" for the declaration of header files (the last one is still shared across most assembler and C compilers). There are other common extensions variations, such as, ".cc", ".C", ".cxx", and ".c++" for "implementation" code.
30th Nov 2016, 9:16 PM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar