// main.cpp : Lab XXX, CS XXX or IFYCSEM, Section XXX. // Written by YOUR NAME(s) and BOX NUMBER(s). // Completed on DATE. // This is a RHIT Console program. Use ShowGraphics() to show graphics. // This program XXX describe what the program does XXX. #include #include #include #include #include "random.h" #include "searching.h" #include "parse.h" using namespace std; string get_a_line() { char a_char; string a_string; while ((a_char = getchar()) != '\n') a_string += a_char; return a_string; } void main() { srand(time(NULL)); for (int i = 1; i <= 6; i++) cout << "Group " << i << ": " << rand()%100 << endl; /* random rand_resp; searching search_resp; parse parse_resp; string user_sez; cout << "What seems to be your problem? Enter bye to quit" << endl; user_sez = get_a_line(); rand_resp.reply(); rand_resp.reply(); */ /* while (user_sez != "bye") { if (!parse_resp.reply(user_sez)) if (!search_resp.reply(user_sez)) rand_resp.reply(); user_sez = get_a_line(); } */ }