Due in 12 h
You shall implement all functions described in this skeleton code, according to their commented descriptions, in a header file named cs19_c_strings.h
.
You may not use any #include
directives. Rather, take this opportunity to write pure C++, without the use of any library functions/classes/etc.
Notes: Note that these functions are wrapped in a namespace named cs19
. Namespaces are C++’s broadest non-global scope, and are used as a way of grouping together classes, functions, etc. into a category. When we refer to std::cout
, for example, we are accessing a variable named cout
within a namespace named std
(where all of the C++ standard library items are defined).