Mail Archives: djgpp/1998/04/28/16:16:47
Robert Vila wrote:
>
> i posted this question several days ago and didn't really solve the
> problem. My problem is that I am a beginner to DJGPP and am having
> problems using the standard C++ string class. I have tried a wide range
> of suggestions such as changing the #include to "_string.h" and
> capitalizing the S in string, but to no avail. Can anybody help me out?
> I know this is a very simple solution, but I can't get it. I'm using
> RHIDE, my installation seemed to work ok, I do find a "_string.h" file
> in the correct place in the include directories. Any ideas?
Please post a short program that causes the error(s), along with a
capture of the compilation output (use "redir -o gcc.log -eo ...", where
... is your normal command line, or cut and paste from RHIDE). We need
to see at least this to figure out your problem.
Just in case it's something simple, let me ask you some questions:
1) Can you compile C programs?
2) Can you compile C++ programs that use other headers besides
_string.h?
3) Can you compile from DOS?
4) If you get undefined references, are you linking the C++ libraries
when you compile (RHIDE should do this automatically)?
5) Are you spelling #include correctly? (Don't laugh; somebody did this
earlier.)
6) Have you made any changes to your 'djgpp.env'?
--
---------------------------------------------------------------------
| John M. Aldrich |"Men rarely (if ever) manage to dream |
| aka Fighteer I |up a god superior to themselves. Most |
| mailto:fighteer AT cs DOT com |gods have the manners and morals of a |
| http://www.cs.com/fighteer |spoiled child." - Lazarus Long |
---------------------------------------------------------------------
- Raw text -