Java Games: Flashcards, matching, concentration, and word search.

C++ Chaper 3 Activity 2

AB
source code filename extension.cpp
object code filename extension.obj
executable code filename extension.exe
so the computer can understand your program it must first be converted tomachine language
to convert the source code to machine language it needs acompiler
outcome of the compilerobject code
combines the object file with other machine code necessary for the C++ program to run correctlylinker
linker will produceexecutable file
basic structure of a simple C++ programdocumentation, #include directive(s), main function
special instruction for the C++ compiler that tells the compiler to include the contents of another file#include directive
Files that are included in program using #include directiveheader files
the instructions (source code) needed to handle input and output operationsiostream.h header file
begins with the type of function followed by main ()function header
the function code is enclosed inbraces {}


Continuing Education
Harrison County
Bridgeport, WV

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities