Skip to content

publicrepo/formatstring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

formatstring

Format String Library

The purpose of this library is to provide simpler, safer updated versions of snprintf and scanf style functions.
Specifically, it adds:

  • 64bit float and int support
  • Type checking
  • Type conversion (eg. float <--> int)
  • Optional .Net format syntax

Usage is described in the header files for each primary function:

  • FormatString - Replacement for snprintf using .net style format string
  • FormatStringF - Replacement for snprintf
  • ScanStringF - Replacement for scanf

To compile:
Add the \FormatStringLib files to your project

To use:
See the \Example\Test.cpp file for example usage

This software is Free and Open Source. Use at your own risk and please observe any copyright notices from contributors.

About

Simple and safe snprintf and scanf style functions for C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published