Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


Not much to say except that I got tired of hacking around issues with Microsoft's old implementation of snprintf, used by MinGW, so yesterday I set out to write my own. I've been closely following the official C99 spec, and I think I've got everything done except the e/E, G/g, and A/a specifiers and wchar_t support. In case anyone could use it, I'm releasing my implementation under the zlib license. It should integrate easily; just include after . If you make changes or bug fixes, consider sending them to me so I can update the original.

There's also the portable snprintf implementation; it targets a wider scope, beyond C99. I had trouble using it myself, but that seems to happen a lot so your mileage may vary.

Oh and I also just got back from Cuba a week ago. Was a nice vacation, stayed at a small resort, went to Havana. Good break from the computer.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!