Make up some funny ghetto names here - Try a li'l harder

  • ⚙️ Performance issue identified and being addressed.
  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
#include <iostream>
#include <cstring>

using namespace std;

const char iNeverLearnedRegex [] = "bcdfghjklmnpqrstvwxyz";

char genConsonant(){
return iNeverLearnedRegex[rand()%strlen(iNeverLearnedRegex)];
}

int main() {

srand(time(NULL));
string name;

if(rand()%2==0){
name=name+"La";
name=name+genConsonant();
name=name+"i";
name=name+genConsonant();
name=name+"ah";
}
else{
name=genConsonant();
name=name+"a";
name=name+genConsonant();
name=name+"arius";
}
cout << name;

return 0;
}

Go nuts.
 
Last edited:
Back
Top Bottom