Skip to content

VikBelt/C-StringType

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adding Strings in C

This is a set of structures and functions to create a wrapper around a character array to create a string type

A Brief Description

Files
stringtype.h - contains function declarations and structures
stringtype.c - contains the implementation for the functions in the header
main.c - to test the code
makefile - to compile the code

The Functions

createString - acts as a constructor
setString - sets the value of the string to something
append - code to append a string
deleteString - acts as a destructor
println - a print function
empty - checks of the strng is empty
toCharArray - returns a char*
copyString - copies string to another string
swapString - swaps two strings

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published