Can someone look at this code, and tell me how to simplify it? Also, I am using MSVC++ 6.0 and when I compile this extremely simple program, it ends up to be like 500Kb why?
Printable View
Can someone look at this code, and tell me how to simplify it? Also, I am using MSVC++ 6.0 and when I compile this extremely simple program, it ends up to be like 500Kb why?
start by removing namespace std, because you dump all the templates of std, you use something like this:
Code:#include <iostream>
#include <cstring>
// dump the templates and classes we only use
using std::cout;
using std::cin;
using std::endl;