Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Smart String

Little function to create string from variables without using strjoin.

Currently supported arguments:

  • char* - %s
  • int - %i
  • unsigned int - %u

Example

char            *a = "Hello world";
int             b = -1654561;
unsigned int    c = 564186513;

char *smart_l = sstring("%s, %i, %u", a, b, c);

printf("%s\n", smart_l);

--> Hello world, -1654561, 564186513

Changelog

0.0.1 - 15.11.2018

  • initial release

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages