Skip to content

martin-olivier/cstring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cstring

cstring MIT license CPP Version

GitHub watchers GitHub forks GitHub stars

workflow codecov

The goal of this project is to recreate the string class of the C++ standard library in C. Syntax changes will be forced due to the absence of classes in C :

// in C++
std::string str = "Hello";
str.push_back(' ');
str += "World";

// in C with cstring
string str = string_create("Hello");
string_push_back(str, ' ');
string_cat(str, "World");
string_destroy(str);

Releases

No releases published

Languages