Skip to main content



      Home
Home » Newcomers » Newcomers » Different results between running in eclipse and run in DOS
Different results between running in eclipse and run in DOS [message #1272573] Tue, 18 March 2014 04:32 Go to next message
Eclipse UserFriend
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?
Re: Different results between running in eclipse and run in DOS [message #1272887 is a reply to message #1272573] Tue, 18 March 2014 22:04 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Different results between running in eclipse and run in DOS [message #1273012 is a reply to message #1272887] Wed, 19 March 2014 05:52 Go to previous message
Eclipse UserFriend
Thank you,

I have moved the topic in Eclipse CDT.

Cheers.
Previous Topic:Newbie: Mihini
Next Topic:A fatal error has been detected by the Java Runtime Environment:
Goto Forum:
  


Current Time: Mon Jun 23 00:25:58 EDT 2025

Powered by FUDForum. Page generated in 0.09719 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top