cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How to include api classes
How to include api classes
Nov 24, 2011 at 6:11pm
Nov 24, 2011 at 6:11pm UTC
kidd106
(23)
How would I include a api class in a program. I'm assuming that I would need to include a header file. After that I assume that I would would just create a new object of the included class.
If my assumptions are correct, how do I know which header files to include? Say I wanted to use the BStopWatch class
http://api.haiku-os.org/classBStopWatch.html
Nov 24, 2011 at 7:55pm
Nov 24, 2011 at 7:55pm UTC
fafner
(377)
For working with an API you need to read up on that API's documentation, the includes and compiler flags and so on should be there.
Topic archived. No new replies allowed.