The classes are useful as training examples for a C+++ tutorial, for novices in C++, or if you have to avoid the standard C++ library with its classes std::string and std::vector class for any reason. It contains basic functionality compatible with the std:: versions, more functions can easily be added.

Class my_string is based on original work by Christian Stigen Larsen, 2007.

It may happen in real projects that the std library must be avoided: I needed it
because of link problems in an application using mixed libraries, especially one compiled with an old Intel compiler icc 7 (for Linux), and other libs compiled with newer compilers. Icc 7 uses an incompatible c++ standard library implementation.

Features

  • portable source code
  • simple class design
  • C++ standard library not needed
  • useable as replacements to std::string and std::vector

Project Activity

See All Activity >

Categories

Libraries

License

Public Domain

Follow Simple C++ string and vector classes

Simple C++ string and vector classes Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Simple C++ string and vector classes!

Additional Project Details

Operating Systems

BSD, Linux, Windows

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Libraries

Registered

2014-02-27