Welcome to the Builder Academy

Question Replacing asctime with strftime

More
10 Aug 2015 14:50 #5498 by ptrayal
Hi:
I was wondering why obsolete functions like asctime have not been replaced with newer ones like strftime instead?

Best Regards,
ptrayal

Please Log in or Create an account to join the conversation.

More
11 Aug 2015 18:16 #5500 by thomas
I figure it's because it works as it is, so noone has bothered.
strftime() is actually used a couple of places as well, where the timeformat matters.

Please Log in or Create an account to join the conversation.

More
11 Aug 2015 19:17 #5501 by ptrayal
<grin> I know it works. Just sometimes I use cppchecker and it keeps flagging them as obsolete, so I was curious about it. Obviously not a big deal, but would move the codebase forward.

Please Log in or Create an account to join the conversation.

Time to create page: 0.158 seconds