computeAverage(); // : compAvg();
. , , . :
cmd command
cp copy
pt point
comp compute
init initialize
. .
, - , /. . :
HypertextMarkupLanguage html
CentralProcessingUnit cpu
PriceEarningRatio pe
. .
.
Line* line; // : Line* pLine;
// : Line* linePtr;
C/C++ . , C++ , .
() , .
bool isError; // : isNoError
bool isFound; // : isNotFound
, , . !isNotFound.
.
enum Color {
COLOR_RED,
COLOR_GREEN,
COLOR_BLUE
};
, , , .
: Color::RED, Airline::AIR_FRANCE . .
, , : enum Color {...}. , .
32. Exception.
class AccessException
{
:
}
, .
(, - ) , , , ( void).
. , , , .
4
4.1
34. C++ . h () . hpp. . c++ (),. C,. cc . cpp.
MyClass.c++, MyClass.h
, C++.
() , .
MyClass.h, MyClass.c++
. , .
|
|
.
class MyClass
{
public:
int getValue () {return value_;} // !
...
private:
int value_;
}
, . , , .
80 .
80 , , ; , . .