home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 20019 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.8 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sdd.hp.com!nigel.msen.com!heifetz!ais.org!roofus!empath
  2. Message-ID: <765370d7928835t20@roofus.ann-arbor.mi.us>
  3. Date: Tuesday, 26 January 1993 21:59:04 EST
  4. X-Mailer: TMail version 1.14R
  5. From: "Tim Triemstra" <empath@ais.org>
  6. Organization: Empath Software
  7. Subject: Compiling a string class
  8. Newsgroups: comp.lang.c++
  9. Distribution: world
  10. Lines: 37
  11.  
  12. I've been having trouble getting these lines of code to compile
  13. correctly under Zortech C++.  It works fine under BC++ so I'm kinda
  14. baffled.  Even more so, the error is kinda oblique (not realy alot of
  15. room for another ')' y'know.)
  16.  
  17. Any ideas what could be causing this?
  18.  
  19. ---
  20. ztc -mx -c str.cpp strsearch.cpp regx.cpp match.cpp dynstream.cpp
  21. ztcpp1x -DDOS386 -3 -ms -oC:\UTILS\TEMP\ztc_1.tmp str.cpp
  22.    str(const char *, const str::substr& );
  23.                                       ^
  24. str.h(123) : Error: ')' expected
  25.    friend str operator+(const char *, const str::substr & );
  26.                                                         ^
  27. str.h(250) : Error: ')' expected
  28.    int operator==(const char *, const str::substr & );
  29.                                                   ^
  30. str.h(293) : Error: ')' expected
  31.    int operator<=(const char *, const str::substr & );
  32.                                                   ^
  33. str.h(294) : Error: ')' expected
  34.    int operator>=(const char *, const str::substr & );
  35.                                                   ^
  36. str.h(295) : Error: ')' expected
  37. Fatal error: too many errors
  38. --- errorlevel 1
  39. --------------------------------------
  40. Thanks folks.
  41. Tim.
  42.  
  43.  
  44. -------------------------------------------------------
  45. | When the end comes, there will be two men standing: |
  46. |   Me, and the guy I gotta kill.   - Gosh I'm EVIL   |
  47. ------ Tim Triemstra ------------- empath@ais.org -----
  48.