Sorry, I am fairly new to C++ when it comes to dealing with something like a GUI. I have pretty much everything working, but I can’t seem to compare my std::string to the juce::String. Is there a way to do this? My teacher said it was fine to use the GUI but I can’t use your special functions for reading in files and such soooo… that has to be done the long way (which is of course understandable for learning reasons). Here is an example of what I am trying to do:
uname is a TextEditor and (*start) is an iterator going through a liststd::string
if(uname->getText() == (*start)->getUsername())
The compiler says that I can’t compare the two, but I was thinking if I could change one to std::string or the other way around then it should work. BUT! I can’t seem to figure out how to do it.