- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
int __fastcall TForm1::iscomm(AnsiString str)
{
int i=1;
while (str[i]==' ')
 i++;
if (str[i]=='#')
 {
  return 1;
 }
else
 {
  return 0;
 };
};Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
+147
int __fastcall TForm1::iscomm(AnsiString str)
{
int i=1;
while (str[i]==' ')
 i++;
if (str[i]=='#')
 {
  return 1;
 }
else
 {
  return 0;
 };
};
+147
cout<<"enterX"<<endl;
     cin >>x;
x = 0.125;
+147
uint32_t getuint32(char *p){
  return (*p<<24)|(*(p+1)<<16)|(*(p+2)<<8)|(*(p+3));
}
+147
if(dOper1p->Caption == "-0")
   dOper1p->Caption = "+0";
 if(dOper2p->Caption == "-0")
   dOper2p->Caption = "+0";
 if(dOper1m->Caption == "-0.0")
   dOper1m->Caption = "+0.0";
 if(dOper2m->Caption == "-0.0")
   dOper2m->Caption = "+0.0";
+147
function checkAllRemarks()
{ // ЧТО ЭТО!?!?!?!?17СЕМНАДЦАТЬ!!!!1111
   for (i = 0; i < document.getElementsByTagName("input").length; i++)
   {
        if (document.getElementsByTagName("input")[i].name.split("|").length>=2)
        {
            if (document.getElementsByTagName("input")[i].name.split("|")[0]=="CBR")
            {
                if (document.getElementsByTagName("input")[i].name.split("|")[1].length==36)
                {
                    if (document.getElementsByName("allRemarks")[0].checked == true)
                        document.getElementsByTagName("input")[i].checked = true;
                    else
                        document.getElementsByTagName("input")[i].checked = false;            
                }
            }
        }
    } 
}
+152
if ('yes'!= 'yes') {
	checkCaptcha();
	return true;
}
+147
function check() {
if (document.login.user.value == "user" &&
document.login.password.value == "correct_password")
    window.location.href = 'http://this.site/login.html';
else
    window.location.href = 'http://this.site/loginfehler.html';
return false;
}
+147
function nyak_nyak(el) {
    if (confirm("Вы уверены в своих действиях?")) {
        document.location = el.href;
	}
    return false;
}
+147
if(typeof n!="number"&&(k==Number||!(n instanceof Number))||p.round(n)!=n||n==NaN||n==Infinity)return!1;
+147
var yagooduser = sustr('Мой',1);Чел прислал в асю и удивляется, почему не работает