/************************************************************************** Main program for CS113 Program Assignment 2 Date: Jan 24, 2000 Author: Stan Sclaroff Login: sclaroff@cs.bu.edu Description: This main program has is provided to help you develop and test your implementation of find(string s,string t). This program should be linked with print_find.o and find.o To make main, you can use the Makefile provided: make main */ #include #include #include "funcs.h" int main() { int offset; offset = find("Mississippi","is"); print_find(offset,"Mississippi","is"); offset = find("Mississippi","Miss"); print_find(offset,"Mississippi","Miss"); offset = find("Mississippi","pi"); print_find(offset,"Mississippi","pi"); offset = find("Mississippi","hip"); print_find(offset,"Mississippi","hip"); return 0; }//end of main