Need someone to debug this program.
Oct 16, 2017 at 7:24am UTC
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 Oct 16, 2017 at 4:18pm UTC
Oct 16, 2017 at 8:04am UTC
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.
Oct 16, 2017 at 3:21pm UTC
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.