Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Internet & the Web   »   Routine not functioning properly

 
Thread Tools Display Modes
Question
 
 
#1  
Old Oct 11, 2004, 06:51 AM
kepler
New Member
kepler is offline
 
Join Date: Oct 2004
Posts: 3
kepler See this member's comment history on his/her Profile page.
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 supose 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

Reply With Quote
 
     


Bookmarks


Thread Tools
Display Modes

 
Similar Sponsors

Similar Threads
Question Asker Forum Answers Last Post
Tell me about your skincare routine! lymEileen Skin Care 3 May 3, 2006 12:35 AM
Radiators not working properly johnny_s Heating & Air Conditioning 6 Feb 22, 2006 10:45 AM
Av not functioning christymoro Electronics 2 Jan 22, 2006 09:33 AM
Inducer motor not functioning consistently kmaab Heating & Air Conditioning 1 Feb 19, 2005 05:17 PM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 02:12 AM.