Hlášky hodnocené kladně uživatelem „Faramir“
p_found = strrchr(filename,'_');
if (p_found)
{
//length=p_found-filename;
strncpy(cust_date,p_found+1,7);
cust_date[7]='\0';
printf("Konec: \"%s\"\n",cust_date);
} else {
printf("File naming has bad structure. Skipping.\n");
continue;
}
if (!strcmp(cust_date,"2012-07")) strcpy(cust_date,"2012-06");
if (!strcmp(cust_date,"2012-08")) strcpy(cust_date,"2012-07");
if (!strcmp(cust_date,"2012-09")) strcpy(cust_date,"2012-08");
if (!strcmp(cust_date,"2012-10")) strcpy(cust_date,"2012-09");
if (!strcmp(cust_date,"2012-11")) strcpy(cust_date,"2012-10");
if (!strcmp(cust_date,"2012-12")) strcpy(cust_date,"2012-11");
if (!strcmp(cust_date,"2013-01")) strcpy(cust_date,"2012-12");
if (!strcmp(cust_date,"2013-02")) strcpy(cust_date,"2013-01");
if (!strcmp(cust_date,"2013-03")) strcpy(cust_date,"2013-02");
if (!strcmp(cust_date,"2013-04")) strcpy(cust_date,"2013-03");
if (!strcmp(cust_date,"2013-05")) strcpy(cust_date,"2013-04");
if (!strcmp(cust_date,"2013-06")) strcpy(cust_date,"2013-05");
if (!strcmp(cust_date,"2013-07")) strcpy(cust_date,"2013-06");
if (!strcmp(cust_date,"2013-08")) strcpy(cust_date,"2013-07");
if (!strcmp(cust_date,"2013-09")) strcpy(cust_date,"2013-08");
if (!strcmp(cust_date,"2013-10")) strcpy(cust_date,"2013-09");
if (!strcmp(cust_date,"2013-11")) strcpy(cust_date,"2013-10");
if (!strcmp(cust_date,"2013-12")) strcpy(cust_date,"2013-11");
if (!strcmp(cust_date,"2014-01")) strcpy(cust_date,"2013-12");
if (!strcmp(cust_date,"2014-02")) strcpy(cust_date,"2014-01");
if (!strcmp(cust_date,"2014-03")) strcpy(cust_date,"2014-02");
if (!strcmp(cust_date,"2014-04")) strcpy(cust_date,"2014-03");
if (!strcmp(cust_date,"2014-05")) strcpy(cust_date,"2014-04");
if (!strcmp(cust_date,"2014-06")) strcpy(cust_date,"2014-05");
if (!strcmp(cust_date,"2014-07")) strcpy(cust_date,"2014-06");
if (!strcmp(cust_date,"2014-08")) strcpy(cust_date,"2014-07");
if (!strcmp(cust_date,"2014-09")) strcpy(cust_date,"2014-08");
if (!strcmp(cust_date,"2014-10")) strcpy(cust_date,"2014-09");
if (!strcmp(cust_date,"2014-11")) strcpy(cust_date,"2014-10");
if (!strcmp(cust_date,"2014-12")) strcpy(cust_date,"2014-11");
if (!strcmp(cust_date,"2015-01")) strcpy(cust_date,"2014-12");
strcpy(new_dir,"");
strcat(new_dir,customer);
strcat(new_dir,"_std-capa_");
strcat(new_dir,cust_date);
printf("Creating directory: \"%s%s\"\n",output_directory_path,new_dir);
Komentář: Aplikace zacala na prelomu roku tvorit soubory s datumem o mesic napred. Vsichni se hrozne divili jak je to mozne, vyvojar uz od nas odesel, tak jsem byl donucen se podival do kodu. A co jsem nenasel, bezvadne kurvitko :D
<a> Potřebuju vytvořit nějaký psycho temný intro na začátek alba které budem točit.
<b> Psycho temný intro? Mohu ti nahrát pekelné mlčení mé ženy.