Go to Post They have a Woodie Flowers Finalist, Outstanding Volunteer and numerous UFH Awards to demonstrate this as well. You do not receive any of these accolades without doing something right. - J Flex 188 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-21-2004, 05:58 PM
Guest
 
Posts: n/a
Re: Needing A header file

You want a header file?

Or do you want actual coded implementation? Then wouldn't you want a .c file, as well?
  #2   Spotlight this post!  
Unread 01-21-2004, 06:06 PM
jweric jweric is offline
Registered User
#1322
 
Join Date: Jan 2004
Location: Fenton, MI
Posts: 6
jweric is an unknown quantity at this point
Re: Needing A header file

all I need is the .h so I can implement it into my coding, unless I need a .c file along with it
  #3   Spotlight this post!  
Unread 01-21-2004, 06:14 PM
Guest
 
Posts: n/a
Re: Needing A header file

You code either find a C version of "math.h". I just wrote a smaller version with only basic trig functions declared:

Code:
double acos(double x);
double asin(double x);
double atan(double x);
double atan2(double y, double x);
double cos(double x);
double cosh(double x);
double sin(double x);
double sinh(double x);
double tan(double x);
double tanh(double x);
  #4   Spotlight this post!  
Unread 01-21-2004, 06:17 PM
jweric jweric is offline
Registered User
#1322
 
Join Date: Jan 2004
Location: Fenton, MI
Posts: 6
jweric is an unknown quantity at this point
Re: Needing A header file

So I would just put in the var declorations in the user_routine.c?

I am still sort of new to the world of C.

If you did put it in the var declorations, then somthing isn't working. Because I am geting "The 'sin' symbol is not reconized"

Last edited by jweric : 01-21-2004 at 06:37 PM.
  #5   Spotlight this post!  
Unread 01-21-2004, 07:21 PM
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Re: Needing A header file

Quote:
Originally Posted by jweric
So I would just put in the var declorations in the user_routine.c?

I am still sort of new to the world of C.

If you did put it in the var declorations, then somthing isn't working. Because I am geting "The 'sin' symbol is not reconized"
Try searching Google or Yahoo for a math.h (and a math.c) file. Or, if you know how the math functions you need actually work (like squareing is x * x), you can just program them yourself.

<< Edit >>: Is it legal/allowed to upload those files here? Like, the files from MSVS, or some other c/++ compiler?
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #6   Spotlight this post!  
Unread 01-21-2004, 07:24 PM
Guest
 
Posts: n/a
Re: Needing A header file

Quote:
Originally Posted by Raven_Writer
Is it legal/allowed to upload those files here?
I highly doubt that. The example I gave above is not from someone else's source code. However, depending on whether the source has a GPL (license) on it, you might be able to put it in the White Papers section or attach it.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
First Logo as a CAD file jrgrim12 Inventor 4 02-14-2003 11:42 AM
The need for File Maker Pro 5 Dev. Edition archiver 2000 1 06-23-2002 10:50 PM
Dashv2.ocx dependency file now available archiver 2000 0 06-23-2002 10:00 PM
Improving PBASIC: Request for Comments Greg Ross Programming 19 02-16-2002 10:14 PM


All times are GMT -5. The time now is 11:13 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi