For some reason my string is spitting out pure trash, and I have no idea why it's doing it.
There are no errors kicked out when debugging.
#include <iostream>
#include <string>
using namespace std;
void main(){
string xx = "";
string yy = "";
for( int x = 0; x < 10001; x+= 1 ){
xx+= x + ", ";
}
cout << xx;
cin >> yy;
}