Getting information from the internet

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
> 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.
@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++
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

Last edited on
Topic archived. No new replies allowed.