     C++ ;    :

    count++;  //  count  

          ANSI .  
(    )   ANSI    C++:

    _result = count /*   */ + 100;

 , 

    result = count //  ??? + 100;

       ,    C++ 
          .

      

             
ANSI   C++.   12.2    .

     12.2.  COMMENTS.CPP (   ANSI   C++)

    1:     #include <iostream.h>
    2:
    3:     // ----------------------------------------------------------------------------------
    4:     //  :  
    5:     //  : V1.0
    6:     //  :     C++
    7:     // ----------------------------------------------------------------------------------
    8:
    9:     main()
    10:    {
    11:    cout  "A Brief C++ Commentary\n"; //  
    12:    cout  "\n"; //     
    13:
    14:    /*   ,      
    15:       .
    16:      C++   . */
    17:
    18:    cout  "// This is not a comment.\n\n"; //  
    19:    cout  "/* This also is not comment.*/ \n\n";
    20:    cout /*  . */  "This text is displayed.\n";
    21:    return 0;
    22:    }


    

            
    ,   COMMENTTS.CPP   . 
    Options\\Environment  Syntax
Higklighting\Customize,  Comment ,  Element   
      CFG). (  -.)

    .  3-7   C++   
,  .    "" 
    ,   
  , ,    ..
     11-12       C++
 .  14-16    
ANSI .      C++   
   / /.
     18-19   :    
     .  20 , 
   ANSI        ,
  ,  ,    .

      

        C++    ANSI   
,      .    :

    char buffer[128];	//   
    gets(buffer);	//    
    cout  '\n';	//   
    cout  buffer 	'\n';             //       


     12.   C++     281 
