6 /*----------------------------------------------------------------------*\
8 \*---------------------------------------------------------------------*/
10 /*--------------------------------------*\
12 \*-------------------------------------*/
14 void useNameSpaceProcedure();
16 /*--------------------------------------*\
18 \*-------------------------------------*/
34 /*----------------------------------------------------------------------*\
36 \*---------------------------------------------------------------------*/
38 /*--------------------------------------*\
40 \*-------------------------------------*/
42 void useNameSpaceProcedure()
44 cout
<< endl
<<"[Using Namespaces with procedures] :" << endl
<<endl
;
45 float v1
= v1::value();
46 float v2
= v2::value();
48 cout
<< "value of v1 = " << v1
<< " V = " << v1::V
<< endl
;
49 cout
<< "value of v2 = " << v2
<< " V = " << v2::V
<< endl
;
52 /*--------------------------------------*\
54 \*-------------------------------------*/
57 * v1 est le name space
65 * v2 est le name space
72 /*----------------------------------------------------------------------*\
74 \*---------------------------------------------------------------------*/