void fixstrign(char*& lol,char*& hue) {
//lengths for maximum efficiency of length
int lollen=strlen(lol);
int huelen=strlen(hue);
if(lollen==huelen) return;
bool swape=lollen<huelen; //swapemaster
if(swape) {
char* tmp=lol;lol=hue;hue=tmp;
int tmp2=lollen;lollen=huelen;huelen=tmp2;
}
//<br>
//is made a <br> above to add a line between the lines for to make a line taller
char* newhue;
newhue=new char[lollen];
memcpy(newhue,hue,huelen);
for(int i=huelen;i<lollen;++i)
newhue[i]='0';
hue=newhue;
//<br>
//more of this is <br>
if(swape) {
char* tmp=lol;
lol=hue;
hue=tmp;
}
}
void fixstrign(char*& lol,char*& hue) {
//lengths for maximum efficiency of length
int lollen=strlen(lol);
int huelen=strlen(hue);
if(lollen==huelen) return;
bool swape=lollen<huelen; //swapemaster
if(swape) {
char* tmp=lol;lol=hue;hue=tmp;
int tmp2=lollen;lollen=huelen;huelen=tmp2;
}
//<br>
//is made a <br> above to add a line between the lines for to make a line taller
char* huehuehuehuehuheuhe = new char[500];
//is of for to leaking the memory
char* newhue;
newhue=new char[lollen];
memcpy(newhue,hue,huelen);
for(int i=huelen;i<lollen;++i)
newhue[i]='0';
hue=newhue;
//<br>
//more of this is <br>
if(swape) {
char* tmp=lol;
lol=hue;
hue=tmp;
}
}
int main() {
char* test1="foo";
char* test2="foobar";
fixstrign(test1,test2);
cout<<test1<<endl;
cout<<test2<<endl;
return 0;
}