Though I should be l33t and release another string fixer, Should make l33t hacks and will definitely repair and make your strings way sexier than just typing them and as a added bonus it eats tons of ram! Who wouldn't wanna use this l33t code?!
Code:
#include <iostream>
#include <string>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::vector;
string rameater(string s)
{
vector<string> longest;
int c;
bool ran = true;
typedef vector<string>::size_type str_sz;
str_sz str_length;
str_sz str_longest;
while(ran)
{
longest.push_back(s);
if (1)
{
longest.push_back(s);
ran = false;
}else{
str_length = str_longest;
longest.push_back(s);
ran = false;
}
}
for (str_sz i = 0; i < longest.size(); ++i)
{
c++;
}
return s;
}