#include gives you cin and cout, etc #include needed if you use a string for anything #include for the mathematical functions sin, cos, exp, etc #include to control formatting with cin and cout etc #include for accessing files There are many others. Remember to say near the beginning using namesapce std; and declare instead of void main() int main() { ... }