Ask Experts Questions for FREE Help !
Ask
    kepler's Avatar
    kepler Posts: 0, Reputation: 1
    New Member
     
    #1

    Oct 11, 2004, 06:51 AM
    Routine not functioning properly
    Hi,

    I have a routine with the following structure:

    void GetGST(double jed, int s, double gst) {
    (... code goes here to determine gst)
    }

    The problem is that, in a loop statement, I call the routine for the first time and it returns a valid value; in the following calls it gives results without sense! For instance, it gives first 6.5 ( it nevers suppose to give values greater that two PI ), and in the second call it gives 1000!

    I used also the code:

    void GetGST(double jed, int s, double *gst) {
    (... code goes here to determine *gst)
    }

    but the same thing happens.

    What am I doing wrong?

    Best regards,

    Kepler

Check out some similar questions!

Radiators not working properly [ 7 Answers ]

I hope someone can please help. We have had problems with our heating system (2 years old) for the past 2 months and have had the people who installed it working to repair it. First the boiler stopped working properly. After a new pump, heat exchanger and circuit board were fitted, the boiler...

Tell me about your skincare routine! [ 3 Answers ]

I don't have really horrible skin, but when I breakout, they're big and nasty and stay forever... I'll start a routine, but after a couple of months, my skin gets evil again and it's back to square one. I've been using St. Ives apricot scrub and following with a neutrogena oil control thing, but...

Av not functioning [ 2 Answers ]

Hi I just tuned in my television it is a bush ak20 with a scart socket, using a universal remote. It changes the channels and volume but it won't change to av channel with the button that's on the remote and I can't play my playstation 2 with no av I'm going mad here people help!!

Inducer motor not functioning consistently [ 1 Answers ]

We have a Carrier 58 RAV downflow furnace. When the thermostat calls for heat the inducer functions inconsistently. Sometimes (though rarely) it functions completely normally, and the ignition sequence occurs properly. But most of the time it either cuts off in the middle of the purge period, or...


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.