//  File: bsmain3.C
//
//  Testing the BString class.

#include <iostream.h>
#include <iomanip.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "bstring.h"

main() {
   int i, len ;

   BString str1("Hello "), str2("World") ;
   BString str3 = str1 + str2 ;

   cout << "str3 = " << str3 << endl ;

   len = str3.length() ;
   for (i = 0 ; i < len ; i++) {
      str3[i] = toupper(str3[i]) ;
   }

   cout << "str3 = " << str3 << endl ;
   str3[len+1] = 'a' ;
}

