RE: help: tips from c++ api writers

Subject: RE: help: tips from c++ api writers
From: "Gilger.John" <JGilger -at- acresgaming -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Thu, 5 Apr 2001 08:26:22 -0700

If you understand Java, you should have a reasonably good basic
understanding of C++, since Java is based on C++.

Header files normally have a ".h" extension. That is the convention in C,
which C++ is based upon. You may see extensions like ".hxx" or something.

Header files are part of programming libraries. They refer the compiler to
the library containing the definitions and functions used in the progrram.
For instance, the line "#include <iostream>" tells the compiler to look in
the iostream file in the standard C++ library to find out what "cout <<
endl" means. It is similar in function to the "import" keyword in Java.

Libraries are simply a collection of program functions, variables, etc.
bundled for reuse in other programs.

All source files in a C/C++/Java program are text files that can be read in
a simple text editor such as emacs, vi, or notepad. So go to the source and
have a ball ;)

HTH, if you have other questions I can help with, let me know.

John Gilger
Senioir Technical Writer
Acres Gaming, Inc.

-----Original Message-----
From: Carol Chung [mailto:cychung55 -at- hotmail -dot- com]
Sent: Wednesday, April 04, 2001 06:08 PM
Subject: help: tips from c++ api writers


I don't really know c++ but was asked to document an api on short notice.
I'm expecting some info from the developer but don't know how much detail
he'll provide. If I have to, I heard that you can extract info from header
files. Do you know what the file extension for those are? Do you have any
sample header file to show me what I should look for? A fake example would
be fine.

I have understanding from Java code how to tell what classes, methods,
parameters, return types look like but am not sure how different this may be

for c++. Are header files in text format or do I need Visual Studio to view

-thanks, Carol


*** Deva(tm) Tools for Dreamweaver and Deva(tm) Search ***
Build Contents, Indexes, and Search for Web Sites and Help Systems
Available 4/30/01 at or info -at- devahelp -dot- com

Sponsored by DigiPub Solutions Corp, producers of PDF 2001 Conference East,
June 4-6, Baltimore, MD. Now covering Acrobat 5. Early registration deadline
April 27.

You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit for more resources and info.

Previous by Author: RE: HTML Help
Next by Author: RE: teaching tech writing?
Previous by Thread: RE: help: tips from c++ api writers
Next by Thread: RE: help: tips from c++ api writers

What this post helpful? Share it with friends and colleagues:

Sponsored Ads