answersLogoWhite

0

Compilation is the process of translating source files into object files.

User Avatar

Wiki User

11y ago

What else can I help you with?

Continue Learning about Engineering

When do preprocessor directives execute in c plus plus?

Preprocessing is the first stage of compilation, where macros are expanded, conditional compilation established and code replaced according to the specified directives. The resulting code produces intermediate source files which are then compiled by the main compilation process. Your IDE may include options to retain these intermediate files so you may examine them.


What is platform dependency of c plus plus?

C++ has no platform dependency. If a compiler exists for a platform (and few don't) code can be written for that platform. Where platforms have different methods to do the same thing, conditional compilation can be used to cater for those differences, thus the same source code can be compiled on any platform simply by changing the definitions used by the conditional compilation directives. For instance, a program that caters for Unix and Windows platforms might contain the following conditional compilation: #ifdef __unix__ #include <unistd.h> #elif defined _WIN32 #include <windows.h> #endif The definition of __unix__ and _WIN32 must be mutually exclusive.


Can you declare a method within a method in c or c plus plus?

C: there are no methods in C. C++: no.


What is c plus c plus c in its simplest form?

In its simplest form, the expression "c plus c plus c" can be simplified by combining like terms. Since there are three instances of "c," it can be expressed as 3c. Thus, the simplest form is 3c.


What is the different of c and c plus plus?

c is procedure oriented and c++ is object oriented & much newer.

Related Questions

Why is c plus plus language more portable than c language?

They are equally portable. Conditional compilation is supported by both languages.


Types of compilation in c plus plus?

There is only one type: the one that creates an object module from a source file.


When do preprocessor directives execute in c plus plus?

Preprocessing is the first stage of compilation, where macros are expanded, conditional compilation established and code replaced according to the specified directives. The resulting code produces intermediate source files which are then compiled by the main compilation process. Your IDE may include options to retain these intermediate files so you may examine them.


How can you turn a C plus plus program into a dot exe to run on a PC without a compiler?

To make C++ code into an executable program, you need a compiler. Compilation of a program doesn't have to be on the same computer as the one it's intended to be used on.


Where does the compilation of c program starts?

After main()


Why wont your C plus plus programs compile?

C++ programs won't compile if they contain compiler errors. The compiler will tell you precisely where the error is, and the type of error, unless the error is in a macro. The compiler cannot see macro definitions because they are inline expanded prior to compilation.


When memory allocate to Static data in c?

Compilation time.


Why you write include in c plus plus?

The #include statement in C and C++ is used to incorporate (include) a file in the compilation unit at the point where the #include statement is encountered. It is used to incorporate commonly used files, often (but not always) rarely changed files, so that the developer does not need to incorporate common code more than once in a project.


Is C preprocessor hardware or software?

The C preprocessor is a software tool that processes C source code before it is compiled. It handles directives such as macros, file inclusions, and conditional compilation, transforming the code into a form that the C compiler can understand. It operates entirely in software and is part of the C compilation process.


What is b plus b plus b plus c plus c plus c plus c?

b+b+b+c+c+c+c =3b+4c


What is c plus c plus 2c plus c plus c equal?

c + c + 2c + c + c = 6c


B plus b plus b plus c plus c plus c plus c equals?

b + b + b + c + c + c + c = 3b + 4c