#include <iostream>#include <string.h>using namespace std; int main() { string s3= string(10, 'a'); cout << s3 << endl; return 0;}
Standard input is empty
aaaaaaaaaa
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!