AoPSWiki
Do you have what it takes to be the next brilliant trader, researcher, or developer at Jane Street Capital? Find out in the Careers in Mathematics Forum.

C++

From AoPSWiki

Revision as of 02:32, 31 August 2009 by Miller4math (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

C++ is a compiler language. A compiler converts between machine language and English. A compiler reads the program fully and creates a executable, which is composed of machine code. The executable can later be executed by the native system. An interpreter is a program that can process source code. The memory takes the form of a variable, with a value. Another value is returned from the ram to the hard drive using the return statement. If the function variable has type "void", no value is returned. Functions can be created and named, but if you name a function "main", make sure that it is supposed to be the first function to execute. The # include statement includes a file and its functions. Do not include a file if it has the main function. Most include files take the extension ".h", which is the extension for C++ header files. The C++ source file will have the extension ".cpp" or ".cc". The executable file will have the extension ".exe".

Try our innovative online adaptive learning system, Alcumus.
Over 1100 problems and 60+ video lessons. FREE!
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us