×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Header files for API

Header files for API

Header files for API

(OP)
I have some confusion about the defintions , header files, how to make them can I make  them just by saving them on a C++ compiler ,  is an Application program interface API a way to have serial port communication really I am confused plz help

RE: Header files for API

You can make a header file in notepad if you want and save it as whatever.h
Probably you have header files that provide the function defintions for serial port communication.  

bkeith
Coastal Instruments
Mass Flow Contoller Specialists

RE: Header files for API


<off-topic>
bkeith
Are you aware that the second link in your sig currently points to Google?

Good Luck
johnwm
________________________________________________________
To get the best from these forums read FAQ731-376 before posting

UK steam enthusiasts: www.essexsteam.co.uk

RE: Header files for API

First, let us know which compiler you are using. Bet to give you some idea:

- Most compilers come with standard libraries that make it very easy to configure and use serial communication.
- The APIs are declared in corresponding header files.
- If you have to use a specific API, you 'include' the corresponding header file in your .c or .cpp file and then use these functions to open, configure, read from/write to, and close the serial port. (a common example: to use console IO including keyboard inputs, I would include conio.h and while compiling, see that that the library path for compilation includes the standard library libc.lib)

Hence, more information is required to give specific suggestions.

[um.narayanan@gmail.com]

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources