.


:




:

































 

 

 

 


countX




void countX (float c, float& x)

{

x = (aGl * cos(bGl + c) - bGl * sin(aGl + c)) / (pow(aGl,3) + bGl * bGl);

}

 

 

1

, . , .

 

, , , .

, NameStudent, summa, MyType.

/C++. , mytype, MYTYPE MyType . /C++ . . (.c/.cpp) . , , MyType myType , mytype MYTYPE, .

 

Microsoft , , . , .

Windows , ( const), ( #define), , , ,

, .

Microsoft , Windows, .

 

 

g_ - g_gravConst
c const cfltPi
ch char 8 chGrade
ch TCHAR 16- , _UNICODE chName
b BOOL bEnabled
n, i int ( ) nLength, iLength
n UINT nHight
w unsigned int 16- wMaska
w WORD 16- wPos
l LONG 32- lOffset
l long 32- lLenght
dw DWORD 32- dwRange
flt float 32- fltValue
dbl double 64- dblValue
p * pDoc
lp FAR* lpDoc
sz string szNameStudent
psz char* lpszName
lpsz LPSTR 32- lpszName
lpsz LPSTR 32- lpszName
pv void* void pvMember
h handle Windows hWnd
lpfn callback CALLBACK - lpfnProc
       

 

:

Value1 = 1;

Value2 = 2;

Result = Value1 / Value2;

// - 0, 0.5

 

, .

 

, :

nValue1 = 1;

nValue2 = 2;

fltResult = nValue1 / nValue2;

// - 0, 0.5

 

. , , , - ++ / ,

0.

 

, , fltResult, Result.

, , , , , . .

 

 

, function - .

( ) .

++ - -. , (). .

 

:

__ __ ( __ )

{

/* . , ,

.

, ,

*/

}

 

, :

 

__ __ ( __ )

 

, :

 

{

/* . , ,

.

, ,

*/

}

 

, , . . ? , .

? , ( !):

__ __ ( __ );

 

(prototype).

 

 

, ++ , :

/*

*/

, , :

//

 

.

 

, , . , main:

// __ __ ( __ )

void main (void)

{





:


: 2016-10-06; !; : 396 |


:

:

: , , , , .
==> ...

1477 - | 1359 -


© 2015-2024 lektsii.org - -

: 0.019 .