Getting information from the internet

Nov 16, 2019 at 6:12am
Hello guys. I am a beginner in c++. Yet, I have an assignment to make a chatbot that replies to questions regarding c++. I built a chatbot that had hardtyped keywords and responses but the problem with that would be that I will not be able to code in everything related to C++. The only alternative I can think of is to connect the program to the internet so that it retrieves information by using google for the input. Please help as to what libraries may be helpful and how they might be used. I am using Microsoft Visual Studio 2019 on Windows platform
Nov 16, 2019 at 6:28am
> Yet, I have an assignment to make a chatbot that replies to questions regarding c++
You should check your assignment to see if "go online" is a requirement.

> I will not be able to code in everything related to C++
Again, check your assignment.

Your tutor is probably looking for how you solve the problem, not that you managed to implement a full featured program.
Nov 16, 2019 at 6:35am
@salem c go online is not a requirement but coding everything related to c++ is. I have got this checked with my tutor who says that it is important that it responds to every question on c++
Nov 16, 2019 at 8:09am
What does "everything" mean?

"What is a <keyword>" would be interesting enough for a beginner.
Eg.
What is a class?

"Explain <c++ concept>" is something else entirely
Eg
Explain polymorphism

Nov 16, 2019 at 3:59pm
Last edited on Nov 16, 2019 at 4:02pm
Topic archived. No new replies allowed.