Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

toString() error

Status
Not open for further replies.

trollacious

Programmer
Sep 29, 2004
4,046
US
While I'm not new to programming, I've recently started learning Borland's C++ Builder Pro 1.0 (and have all the original manuals with it). I worked some with C++ with the old Borland 3.1 compiler, but that's been a while. I understand C++ objects relatively well.

I get a compile error in a DLL:

Member identifier expected

when I use a class method I named toString(). If I change it to ToString() in the class and in the functions, the DLL compiles fine. If I change it back to camel notation, the error reappears.

Any ideas?

Lee
 
I suspect that toString is defined somewhere else.

James P. Cottingham
-----------------------------------------
To determine how long it will take to write and debug a program, take your best estimate, multiply that by two, add one, and convert to the next higher units.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top