+ 4
My program do not show output.... please help me ..😖
// // Program Name: chatterbot1 // Description: this is a very basic example of a chatterbot program // // Author: Gonzales Cenelia // #include <iostream> #include <string> #include <ctime> int main() { std::string Response[] = { "I HEARD YOU!", "SO, YOU ARE TALKING TO ME.", "CONTINUE, I’M LISTENING.", "VERY INTERESTING CONVERSATION.", "TELL ME MORE..." }; srand((unsigned) time(NULL)); std::string sInput = ""; std::string sResponse = ""; while(1) { std::cout << ">"; std::getline(std::cin, sInput); int nSele
1 Respuesta
+ 4
Send your code here so I can read it first