Im going through my class notes online and my professor talks about ws and peek but i don't exactly know what it means. to my understanding, its used with cin, ws is used to get all the whitespaces the person using he program enters, but i don't know what peek is for.
as for the std::bout and std::cin, again to the best of m understanding, they're used when the programmer is using if else statements right? but again, i don't know what they are for
I really don't understand your second paragraph. But if you are talking about the "std::" that appears before the cin statement, that is one of the ways to scope functions in the standard (std) namespace. You may want to search for some more information for C++ namespaces.