powerunlimited

[1011]工程程式設計 CW2

Dec 27th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. if ( found )
  2.         {
  3.             if(count>1)
  4.                 for( j=0 ; j<len2-1 ; j++)
  5.                 cout <<'\b';
  6.            
  7.             for(j=0 ; j<len2 ; ++j )
  8.                  {
  9.                      cout << "^";
  10.             }
  11.         }
  12.         else
  13.             cout << " ";
Advertisement
Add Comment
Please, Sign In to add comment