Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Deckster

    Help reading from a data file

    Salem - This is what I get on compile: : 1506-046 (S) Syntax error. any ideas?
  2. Deckster

    Help reading from a data file

    Trying to read data into a structure...afraid I might have it ALL wrong. Here's the code snippets: typedef struct { char LineNumber[MAX]; char StructureName[MAX]; double Span; } HiVLine[MAX]; ... int num = 0; while(fscanf(cfPtr, "%s%s%d", HiVLine[num].LineNumber...
  3. Deckster

    Exchange/Outlook Calendar Question

    Hi All -- Was wondering if anyone knows VBA code to extract appointments from multiple MSExchange user accounts and combine/post all the appointments to one "Public" calendar?
  4. Deckster

    Easy Question for a Sybase user

    Would like to know how to view what's comprised in a particular view. For example, in Oracle [sadeyes] (I know...I know...) you'd go to the data dictionary and extract the PL/SQL used to create the view.
  5. Deckster

    Password File

    I have several spreadsheets with ODBC calls to my DB which includes the DB password. Problem is when the DB password is changed, modifications to 100's a spreadsheets have to be made. Was wondering how to centeralize and streamline this process. Any and all ideas welcome! Thanx.
  6. Deckster

    Rounding float

    Sorry....not .17, 9.955.
  7. Deckster

    Rounding float

    Thanks for the posts. But, I'm still getting an output problem when the value is returned to main(). Here's an example when using ".17" (w/o quotes). Enter Fault Miles> 9.955 THIS IS THE VAL INSIDE THE FUNCTION:9.955000 Output: 9.950000 Seems to me that the value should be 9.96...
  8. Deckster

    Rounding float

    Hello all, I'm trying to round to the 100th with the below macro. Seems to work ok until the value is passed back to main(). Any help would be much appreciated. float RoundVal(float); float fault_miles = 0.00; fault_miles=RoundVal(fault_miles); float RoundVal(float num) { float temp =...

Part and Inventory Search

Back
Top