Hello,
i start learning C++ and i wanna create my first C++ chat bot, a very simple one so i would like give me some ideas how the code will be. My idea is something like that...
Chat bot code:
Something like that, i'm not sure how will the code be but i wanna with ifstream make the code check another file which will have something like...Code:#inlcude <iostream> #inluce <ifstream> using namespace std; int main() { cout<<Bot will wlcome you here cin>>You will answer here }
something like that you get me?//The {} is for the bot and () for human
{Hello}
...then if...
(hi) post {how are you?}
if hi (HI, how are you?)
bot will answer {fine}



LinkBack URL
About LinkBacks




