I'm wondering if sprintf_s might be useful here (if you're targeting Windows) for guarding against buffer overruns.
If your program is targeting non-Windows platforms (like Mac or Linux), I wonder if there's equivalents to sprintf_s out there.
Popular Topics
Advertisement