Here is what you get as briefly as I can say in code. _snprintf(buf, n, "%d %u %ld %lu", i, ui, l, ul); becomes oformatstream ofs("%d %u %ld %lu", &a_string_stream); ofs << i << ui << l << ul;
Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
No alternatives have been posted.
Developing various kinds of software using C/C++ since 1984 or so. Started out writing 8086 asm for direct screen i/o and mouse handling etc.
Used several other languages eg. Java, Python, Clipper/dBase, FORTRAN 77, Natural ADABAS, Unix scripting, etc.
Previous role involved Enterprise Content Management on Win32.
Most recently worked on managing secure code example development for an online secure code training product.
securecodewarrior.com