I
ig3v10
Hi ,
i have advice on the folloing code:
wchar_t* day = new wchar_t [11];
swprintf(day,L"%4d-%2d-%2d",yy,mm,dd);
how to make sure that my 'day' didn't get string bigger then 20 chars?
found:
swnprintf_s(day,size,L"%4d-%2d-%2d",yy,mm,dd);
but it requires crt
any suggestions?
~igRek
i have advice on the folloing code:
wchar_t* day = new wchar_t [11];
swprintf(day,L"%4d-%2d-%2d",yy,mm,dd);
how to make sure that my 'day' didn't get string bigger then 20 chars?
found:
swnprintf_s(day,size,L"%4d-%2d-%2d",yy,mm,dd);
but it requires crt
any suggestions?
~igRek