Mistři v programování na #hovnokod


Anonymous,

bool checkForExe(std::string ext)
{
    return ext==".exe" ? true : 
              ext==".Exe" ? true :
              ext==".eXe" ? true :
              ext==".EXe" ? true :
              ext==".exE" ? true :
              ext==".ExE" ? true :
              ext==".eXE" ? true :
              ext==".EXE" ? true : false;
}

Anonymous,


klatys,


Anonymous,

public Calendar getTomorrow() {
   Thread.sleep(1000*60*60*24);
   return Calendar.getInstance();
}

Anonymous,