https://github.com/saberglow/string_class
Home made string class in C++.
https://github.com/saberglow/string_class
cpp dynamic-memory-allocation operator-overloading string-manipulation
Last synced: 8 months ago
JSON representation
Home made string class in C++.
- Host: GitHub
- URL: https://github.com/saberglow/string_class
- Owner: SABERGLOW
- License: mit
- Created: 2020-07-12T19:42:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-12T19:47:50.000Z (over 5 years ago)
- Last Synced: 2025-04-30T15:18:11.241Z (8 months ago)
- Topics: cpp, dynamic-memory-allocation, operator-overloading, string-manipulation
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 8
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# String Class
Home made string class in C++.
# Overview:
In general (and in the C++ programming language in particular), the String class is a standard representation for a string of text. This class removes many of the problems introduced by C-style strings by putting the responsibility of memory management on the String class rather than on the programmer. The class should provide some typical string operations like comparison, concatenation, random access to elements, length, etc.
The aim of the project is to practice dynamic class attributes, constants, const reference parameters, and static class members as well as development of general programming skills in C++.
# Decomposition of the program:
* **String.h file:** class declaration header.
* **StringTest.cpp**: the main program with testing code.
* **String.cpp:** implementation of class members declared in the header.