Mail Archives: djgpp/1997/12/03/22:01:27
"michael" <mjordan2 AT pipeline DOT com> writes:
> the program has been wriiten correctly, there are no syntax errors.
:)
If the compiler says that there is a parse error there IS a syntax error
no matter what you say.
> ---------------------------------------
> // Specification file: plisting.h
> // declaring class phonelisting
> #ifndef PLISTING_H
> #define PLISTING_H
> #include <OURSTR.H>
> class phoneListing {
> public:
> ...
>
> private:
> string ln, fn pn; // the compiler keeps refering to this line...
^^^^^
Do you perhaps require a comma in there somewhere?
--
Ian Miller, Dorset, UK
The views expressed above are entirely those of the writer and do not represent
the views, policy, or understanding of any other person or official body.
- Raw text -