|
Re: Different results between running in eclipse and run in DOS [message #1272887 is a reply to message #1272573] |
Wed, 19 March 2014 02:04 |
|
On 03/18/2014 05:55 AM, Maurizio Mising name wrote:
> Hello,
>
> I have created a C++ program in eclipse (X.exe).If I run the program in
> eclipse the output in the console is fine. The output are random
> numbers. If in the DOS command window I execute the X.exe the results is
> different. The numbers are not random.
> Is there any one that know this issue?
I guess I'd wonder if the two ways of running it result in consuming
exactly the same [s]rand() function in the standard C runtime library.
Whatever the case, this is the newcomers' forum. It's for answering
questions more about installing Eclipse, using the workbench interface,
etc. C/C++ questions are handled in the Eclipse CDT forum where you'll
find much more such expertise than here.
Cheers.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04461 seconds