//////////////////////////////////////////////////////// // // main.cpp // // Started 1/5/97 by Jeff Ondich // Last modified: 1/5/97 // // This program tests the function in the dopey little // "stringstuff" library. The whole affair is intended // to illustrate the use of separate files for // interface and implementation. // //////////////////////////////////////////////////////// #include #include "stringstuff.h" int main( void ) { char theString[100]; cout << "Type something, please: "; cin.getline( theString, 100 ); cout << '\"' << theString << '\"' << " contains " << VowelCount( theString ) << " vowels." << endl; return( 0 ); }