[TriLUG] OT: String.h in g++ around Redhat 5.0

Nathan Conrad conrad at bungled.net
Mon Jun 12 15:26:20 EDT 2006


This is a wild guess... maybe you forgot to add "using namespace std;"
to your source file?

Could you post the code somewhere so that people can have a look at
it? It is hard to debug code without actually seeing it.

-Nathan

On Mon, Jun 12, 2006 at 10:17:14AM -0400, Guthrie, Joshua L CIV NAVAIRDEPOT wrote:
> Sorry for the ignorant off topic question.
> 
> Does anyone know if String.h for g++ is roughly the same in/around
> Redhat 5.0 era as the more modern g++'s.  I'm getting stuff like
> No member function 'String:find(char)' defined
> I looked in String.h and didn't find it...
> Or is this a symptom of my extremely poor programming... but it compiled
> alright on my g++ 3.2
> I'm noticing I have do use String instead of string for my
> declarations...
> 
> 
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/



More information about the TriLUG mailing list