What I found quite useful is when using headers is to use a header guard, as often I would get compile errors saying that variables and functions had already been declared.
All you need do is surround your code with:
btw, the _H_ is optional.
hope it helps.
-Clyde.
All you need do is surround your code with:
Code Select
#ifndef _NAME_OF_HEADER_H_
#define _NAME_OF_HEADER_H_
#endif
btw, the _H_ is optional.
hope it helps.
-Clyde.

??, height=?