EXERCISES
  1. Write a program to read a small text file and create a files “words.txt” which contains all the words from the given file. Use type string.
  2. Write a program to read a file of words, and prepare a output file “sorted.text” where words are sorted alphabetically. (Place only one word on one line in the output.)
  3. Write a program to encrypt a text file such that output contains only alphabets and numbers and punctuators (no special characters). Assume similar condition on input.
  4. List the facilities from STL from any two different implementations of C++ (Turbo C++ 4.5, C++ builder, VC++, GNU C++ for Linux etc.)
  5. Assume that type bool is not available in particular Version of C++ you are using. Write a program to define a class BOOL. An object ...

Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.