c-project/C Project/C Project/chatbot.c
int chatbot_do_reset(int inc, char* inv[], char* response, int n) {
	knowledge_reset();                                                          // We also need to free the memory that was occupied by the linked list in knowledge.c so we call knowledge_reset
	system("cls");                                                              // Just to make it neater. IT IS NOT PORTABLE! ONLY FOR WINDOWS!
	snprintf(response, n, "Chatbot reset.");
	return 0;

}
/*
 * Reset the chatbot.
 *
 * See the comment at the top of the file for a description of how this
 * function is used.
 *
 * Returns:
 *   0 (the chatbot always continues chatting after being reset)
 */
Reset the chatbot.

See the comment at the top of the file for a description of how this
function is used.

0 (the chatbot always continues chatting after being reset)
Reset the chatbot . See the comment at the top of the file for a description of how this function is used . 0 ( the chatbot always continues chatting after being reset )
int chatbot_do_reset(int inc, char* inv[], char* response, int n) {
	knowledge_reset();                                                          
	system("cls");                                                              
	snprintf(response, n, "Chatbot reset.");
	return 0;
}
int chatbot_do_reset ( int inc , char * inv [ ] , char * response , int n ) { knowledge_reset ( ) ; system ( " " ) ; snprintf ( response , n , " " ) ; return 0 ; }
Reset the chatbot.
Reset the chatbot .
// We also need to free the memory that was occupied by the linked list in knowledge.c so we call knowledge_reset
 // Just to make it neater. IT IS NOT PORTABLE! ONLY FOR WINDOWS!
