Advertisement
kaunas163

String linija iš n simbolių

Apr 18th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2. #include <iomanip>
  3. #include <string>
  4. using namespace std;
  5.  
  6. int main() {
  7.    
  8.     string bruksnys(20, '-');
  9.     cout << bruksnys << endl;
  10.  
  11.     system("pause");
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement