answersLogoWhite

0

CPP typically stands for the C PreProcessor, which does macro expansion on C source code.

What I suspect you want to know are the differences between C++ and Java. See the links below for more information on that topic.

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

Major advantage in cpp compared to c?

The major advantage of C++ over C is the Object Oriented Programming compatibility in C++.


CPP Program for Implementing Knuth-morris-pratt pattern matching algorithm?

what is the pure algorithm instead of cpp program?


When did CPP start?

I believe it was in 1967


What is the difference between global and extern?

AnswerGlobal variables and extern variables are very similar, but with a major difference. Let's say you have a global variable in your header file, like this:( Refer how u can add the variable declaration in the source code as extern, i think we cant add into header files as it said)int x = 0;Now, in each file that includes that header file, there will be a new variable called x. Modifying x in file1.cpp won't modify x in file2.cpp.Now, for externs... Say you have something like this in your header:extern int x;Then, in file1.cpp (which includes your header):int x = 0;Then, in file2.cpp (also includes the header):x = 46;x in file1.cpp is also now equal to 46. You see, when you use an extern variable, you're telling the compiler that you want to use that variable across all of your source files. If you use a regular global, however, you create a new variable in each of your source files.Anyway, that's just for variables, which I assume you're talking about - global and extern functions are a bit different, and I'm not entirely clear on them.


What c plus plus program must be saved in a text with the extension cpp?

The .cpp extension is merely conventional; it is not required by the C++ standard. You can actually use any file extension you wish.

Related Questions

What is the difference between the header file and the preprocessor directive in programming language cpp?

pata nhn


How does a compiler interpret the difference between c and c plus plus?

from the extension of your file.If it has an extension of .cpp then it is a c++ programIf it's extension is .c, then it is a C program.


Major advantage in cpp compared to c?

The major advantage of C++ over C is the Object Oriented Programming compatibility in C++.


What do the initials CBF and CPP stand for?

CPP


When was CPP Group created?

CPP Group was created in 1980.


What is the difference between bopp and cpp film?

BOPP (Biaxially Oriented Polypropylene) film is a type of polypropylene film that is stretched in both machine and transverse directions, resulting in higher strength and clarity compared to CPP (Cast Polypropylene) film, which is produced by a different manufacturing process resulting in a higher heat resistance but lower tensile strength compared to BOPP film. BOPP film is commonly used for packaging food products, while CPP film is often used for packaging items that require better heat resistance.


When was CPP Studios Event GmbH created?

CPP Studios Event GmbH was created in 1983.


What salary you expect for a person of 8 years academic and corporate experience in c cpp DStru oracle java web asp net unix Linux system progr?

8 Lack Rupees in India per year.


CPP Program for Implementing Knuth-morris-pratt pattern matching algorithm?

what is the pure algorithm instead of cpp program?


What is CPP Studios Event GmbH's population?

The population of CPP Studios Event GmbH is 30.


When did CPP start?

I believe it was in 1967


How the c and cpp extension files can be retrived using FIND command in Linux?

find . -iname '*.c' -o -iname '*.cpp'