RosettaCodeData/Task/Repeat-a-string/C++/repeat-a-string-2.cpp

8 lines
122 B
C++
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
#include <string>
#include <iostream>
int main( ) {
std::cout << std::string( 5, '*' ) << std::endl ;
return 0 ;
}