658___________________________________________ 11

11.8.2.2  dowhile

 do...while     -
    ,   ,   ,
     .   -
 do...while:

do  while () ;

   .    .
    ,    
 .    true (  ),  -
         .  -
      ,   -
   false ().       
,    do...while.

       -
,         ,    
.   ,    ,   
   false.    ,   ,
..    .     -
.           
  - , ,  break   -
,    11.8.2.4.

  do      -
    ,   - 
.     ,     -
, ..       .      , -
 ,      .  
        -  ,
 while  ,       
    .       
,   .       
    ,     .

      ,  
     while (.  11.8.2.3).   
  ,    for (.  11.8.2.1).

  ,     Filel.txt  , ;

   (    ), 
    Editl.     !
   strstr.    
feof.

FILE *F;

char S[256] = "";

AnsiString SKey = Editl->Text;

if((F = fopen("Filel.txt","r")) == NULL)
{

ShowMessage("  ");

return;

)

do
fgets(S,25?,F) ;

while(!feof(F)&&(strstr(S,SKey.c_str()) == NULL));

fclose(F);                                                            ,
if (strstr(S,SKey. str()) == NULL)