// Yes you can use using namespace std; // doing them separately is good practice though //...
The biggest issue here is everyone is recommending and providing links to Integrated Development Environments (IDEs), when you actually requested...
Separate names with a comma.