Skip to content

Usama-Azad/String-in-Cpp

Repository files navigation

String-in-C++

Library for String in C++.

Special Thanks to Sir Aasim Ali.

Senior Assistant Professor
CS & IT Bahria

Download

For Downloading zip file Click Here .

Documentation

For documentation of usa::string Click Here .

Get started

  1. Clone or download the repo, and then,
  2. Paste the header files usastring.h , usastringfunctool.h and Resources in your program directory where your source.cpp file is present.
  3. Include usastring header file in your source.cpp file like #include"usastring.h".

For Example:


#include <iostream> #include "usastring.h" using namespace std; int main() { // Normal ways usa::string str1 = "Hello World!"; str1.toUpperCase(); auto str2 = usa::string("Hello World!").toUpperCase(); // If you have C++14 or Above Version. auto str3 = "Hello World!"x.toUpperCase(); return 0; }

Purpose

usa::string Class have some built-in methods which makes your life very easy.

For more Click Here .

Author