On Wednesday 13 October 2004 13:13, John Lamb wrote:
Charles Hicks wrote:
When I run the following program (did not write it) on a 32 bit machine it will not compile and run correctly. However if I compile and run it on my 64 bit machine it works fine.
Thanks for any help you can give!!
I tried compiling on 32-bit with g++ 3.3.3 and it compiled fine. I didn't try running it. Can you be more specific about the error messages you got?
-- JDL
Sorry I should have been more specific, it compiles on my 32 and on my 64 bit machines fine and when I execute it on my 64 bit machine it also runs fine. When I try and execute it on my 32 bit machine I get the following error: charley@dragon:~> g++ -o test test.cpp charley@dragon:~> ./test kb: 1024 mb: 1048576 gb: 1073741824 four_gb: 4294967296 ten_gb: 10737418240 50%File size limit exceeded As I said it runs fine on the 64 bit machine.