for C :
  I like use "break" to stop a loop.But ......like this:
   
  
for(i=0;i<=5;i++)................................................................loop
 1
     {
      scanf( "%d" , a[i] ); 
      if( a[i] == ' ? ' )
        break; 
     }
   
  
for(i=0;i<=5;i++)................................................................loop
 2
      scanf( "%d" , b[i]);
   
  when I enter '?' , it "break" , both the loop 1 and loop 2. But I only want 
to break loop 1 . The condition is that I can't scan the numbers to b[].



       
---------------------------------
雅虎邮箱,终生伙伴! 

[Non-text portions of this message have been removed]

Reply via email to