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

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 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