473,804 Members | 2,194 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Different outputs in different environments.

Hi,

I observed a very strange phenomenon with my program outputs. I run
my C-program on MSDOS environment and the same program on Sun-session.
I get same output when the input is a small file (which has details
for a circuit with, say, less than 30 logic gates). But, the same
program processes the inputs differently in these environment and give
different results when the input file describes a larger circuit (say,
more than 100 gates). I use lot of memory to hold the data in the
file and then process it.
The program's output is the expected (correct) one in the MSDOS
environment, while the output with the UNIX environment is not the
expected one.

Can anyone clarify this to me.

Thanks,
Raja Sandireddy.
Nov 14 '05
13 1445
"Arthur J. O'Dwyer" <aj*@nospam.and rew.cmu.edu> writes:
On Wed, 8 Sep 2004, pete wrote:

Peter Shaggy Haywood wrote:
A man called his doctor on the phone and said, "Doc, it hurts when I
do this. Can you tell me what's wrong with me?" He then hung up. Can
you imagine what was going through the doctor's mind at that moment?


Henny Youngman.


What was Henny Youngman doing, going through the doctor's mind?


The backstroke.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 14 '05 #11
Keith Thompson <ks***@mib.or g> writes:
"Arthur J. O'Dwyer" <aj*@nospam.and rew.cmu.edu> writes:
On Wed, 8 Sep 2004, pete wrote:

Peter Shaggy Haywood wrote:
A man called his doctor on the phone and said, "Doc, it hurts when I
do this. Can you tell me what's wrong with me?" He then hung up. Can
you imagine what was going through the doctor's mind at that moment?

Henny Youngman.


What was Henny Youngman doing, going through the doctor's mind?


The backstroke.


Waiter, what's this fly doing in my soup?
Nov 14 '05 #12
Arthur J. O'Dwyer wrote:

On Wed, 8 Sep 2004, pete wrote:

Peter Shaggy Haywood wrote:
A man called his doctor on the phone and said, "Doc, it hurts when I
do this. Can you tell me what's wrong with me?" He then hung up. Can
you imagine what was going through the doctor's mind at that moment?

Henny Youngman.

What was Henny Youngman doing, going through the doctor's mind?


He thought the doctor was John Malkovitch?
Nov 14 '05 #13
Ben Pfaff <bl*@cs.stanfor d.edu> writes:
[...]
The backstroke.


Waiter, what's this fly doing in my soup?


Congratulations you've found a case where top-posting would make it
easier to read.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 14 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2283
by: Constandinos Mavromoustakis | last post by:
CFP: CLADE 2004-Challenges of Large Applications in Distributed Environments ------------------------------------------------- PhD student - Dept.Informatics at Aristotle University of Thessaloniki URL-> http://agent.csd.auth.gr/~cmavrom -------------------------------------------------- -------------------------CLADE 2004--------------------------- Challenges of Large Applications in Distributed Environments June 7th, 2004, Honolulu,...
137
7209
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very pragmatic - 3) I usually move forward when I get the gut feeling I am correct - 4) Most likely because of 1), I usually do not manage to fully explain 3) when it comes true. - 5) I have developed for many years (>18) in many different environments,...
3
1498
by: Tao.Young | last post by:
Hi, I met with a very strange problem: the same function will generate different results, but when i uncomment Line1, it'll get the same results. anyone can tell me why? the code is below(compiled with g++ 3.4.2):
0
966
by: dansan | last post by:
I have been writing some C# classes, which are in turn used by Windows forms, web services, asp.net pages, you name it. The shared classes have started to require some 'content files' (in VS deployment lingo) and places to save temp files. This is not an issue when one know that the class is going to be used only under a Windows Forms/Console application, but it becomes quite the issue when the class might be used under the web...
2
2035
by: sqlster | last post by:
We have 3 different environments: dev, qa, and production. After unit testing, the application is deployed to dev for unit testing among the programmers and business analyst. When that is okay it gets deployed to QA for other qa teams to test. When that is approved, it gets deployed to production. For each environment we have web.config in VSS such as dev.web.config, qa.web.config and so on. The developer that adds an app setting key...
4
3369
by: cantatahost | last post by:
Hello, Likely this has been asked before... We have a library (in DLL form) that we distribute. The interface to the library is all C, but within the library it uses C++ in many places. Traditionally we've built our library with VC 6. We are considering moving to VS .NET 2003 or VS 2005. However, we'd like to retain the ability to link applications with the library when the application is still built with VC 6.
6
2424
by: Joel H | last post by:
We have several settings in web.config that are different on the developer side than the production side. Our website sourcecode is under sourcesafe control, so before we code, we check out the web.config and change our connection strings to point to development databases, and change "debug=true". Before we deploy, we change everything back. We can't dynamically select the proper connection string in code because we are using the...
19
1623
by: xkenneth | last post by:
All, I seem to be having problems with running my python code, written on a Mac, on Linux and Windows boxes. It seems like the problem has to do with tab indention, particularly I've noticed that my code will completely ignore try statements. Has anyone had a similar problem? Regards, Ken
0
978
by: Chris Bordeman | last post by:
OK, I have a WCF service which might run under IIS, might also run in different environments as well. It loads assemblies from disk using LoadFrom(). As I understand it, IIS apps run under a persistent AppDomain which doesn't unload between requests. Does this mean I don't have to keep reloading the assembly? How can I detect whether the assembly needs to be reloaded?
0
9595
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10603
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10353
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10099
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3836
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3003
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.