answersLogoWhite

0

The C++ standard does not impose any extension rules on source code files. Conventionally, all C++ headers use a .h extension while all C++ source files use a .cpp extension, however you are free to choose your own extensions as you see fit. Some programmers prefer .hpp for C++ headers in order to differentiate them from C headers, however there's no requirement to do so unless you are specifically differentiating C-style headers from C++ headers. Similarly with .c and .cpp extensions with respect to C-style code and C++ code. In the main it's best to stick with the well-established conventions.

User Avatar

Wiki User

10y ago

Still curious? Ask our experts.

Chat with our AI personalities

JudyJudy
Simplicity is my specialty.
Chat with Judy
BeauBeau
You're doing better than you think!
Chat with Beau
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
More answers

A computer program in C++ is a machine-code executable (EXE or DLL) that was originally written in C++, and subsequently compiled by a C++ compiler and linker.

User Avatar

Wiki User

11y ago
User Avatar

Source program (usually referred to as source code) in C++, is the high-level code you write and subsequently compile to produce the native machine code that the computer can understand.

User Avatar

Wiki User

12y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is computer program in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp