Some Code I'm Working On
Some Code I'm Working On



I've created a string class in C++ to handle various string functions more smoothly than C++ does directly. It manages lots of nice things you would expect a string class to do, like handle arbitrary string lengths, concatenation, conversion to numbers, bounds checking, and other good stuff.

Here's an example:



main()
	{
	string input;

	cin >> input;		//I don't need no stinkin' buffer
	input += "ay";		//easy concat
	cout << input;
	}

That's the basic idea. Here's my string class.