Simple C++ string and vector classes

Two simple C++ classes, replacements for std::string and std::vector

Add a Review
1 Download (This Week)
Last Update:
Download my_string-v1.2.zip
Browse All Files
Windows BSD Linux

Description

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.

Simple C++ string and vector classes Web Site

Categories

Languages, Libraries, Library

License

Public Domain

Features

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

Update Notifications





Write a Review

User Reviews

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

Additional Project Details

Intended Audience

Developers

Programming Language

C++

Registered

2014-02-27
Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.