Hey guys how can I achieve changing this piece of code to use classes instead of a struct. I briefly understand how classes work but im completely confused how to change this piece of code thanks. The code it's self is to scan a .txt file and then search the .txt file to select a word then print the results.
The basic layout would consist of
class Word {
public:
string word;
string definition;
int usageFrequency;
private: