[Work Summary #2]‘cout’ does not name a type || Error: illegal pointer to class object
Solution:https://stackoverflow.com/questions/9935027/cout-does-not-name-a-typeyou should not use cout out of a function, basically in main. Also, for other funtion or method is the same.