why waste time typing std::cout all the time? just use
using namespace std;
before int main ()
also, you can just go to http://rafb.net/paste/results.html
look at other people's code and improve it. it's good practice.
using namespace std;
before int main ()
also, you can just go to http://rafb.net/paste/results.html
look at other people's code and improve it. it's good practice.