Another solution :)
#include <fstream>
using namespace std;
int main(int argc, char** argv)
{
ifstream input (argv[1]);
ofstream output (argv[2]);
char c;
while (input)
{
input.get(c);
output.put(c);
}
return 0;
}
--
"Freedom is the only law".
"Freedom Unplugged"
http://www.ilug-tvm.org
You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For details visit the website: www.ilug-tvm.org or the google group page:
http://groups.google.com/group/ilug-tvm?hl=en