Need someone to debug this program.

I have made this chatbot(not finished) but I am finding some difficulties in doing so.

1
2
3
4
5
6
7
8
9
10
11
12
13
#include<fstream.h>
#include<conio.h>
#include<string.h>
#include<stdio.h>
#include<dos.h>

int num=0;

class conversation
{

getch();
}
Last edited on
What does it do that you wish it didn't, or what does it not do that you would like it to?


I guarantee you will find this much easier if you don't use arrays. Especially char arrays.
I am having problem in the file handling part. The switch case 4 is correct. The problem is in the learn() function. It is showing me funny characters when I look at the entries.
Topic archived. No new replies allowed.