you did not include the "using namespace std; " and the "intmain() "
in its most general sense, a fair use is any copying of copyrighted material done for a limited and “transformative” purpose, such as to comment upon, criticize, or parody a copyrighted work. such uses can be done without permission from the copyright owner.apr 4, 2013