I have some problems with collecting variables..
my current code:
strcpy (date, year);
strcat (date, "-");
strcat (date, month);
strcat (date, "-");
printf("%s" , date);
as result I would like to have 2014-04
for exsample, but currently it gives me 2014-042014-04-
So for some reason it prints it twice. Someone know what is wrong?