From ed0ed93bc9a64412c04a73938b04079cad95c4af Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 29 Nov 2002 20:39:44 +0000 Subject: Yeah... reworking on it! --- include/String.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/String.h') diff --git a/include/String.h b/include/String.h index f8db2c7..27a7f2c 100644 --- a/include/String.h +++ b/include/String.h @@ -10,11 +10,16 @@ class String : public Base { public: String(const String &); String(const char * = ""); +#if 0 + String(const char * = "", ...); +#endif String(char); String(int); String(unsigned int); +#ifdef USE_LONG_LONG String(long long); String(unsigned long long); +#endif String(double); ~String(); const char * set(const char *, ...); @@ -48,6 +53,8 @@ class String : public Base { bool operator<(const String &) const; bool operator>(const String &) const; char operator[](size_t i) const; + String & toupper(); + String & tolower(); private: String(int hs, const char *); @@ -59,6 +66,8 @@ class String : public Base { std::ostream & operator<<(std::ostream &, const String &); std::istream & operator>>(std::istream &, String &); +String operator+(const char *, const String &); + #else #error This only works with a C++ compiler #endif -- cgit v1.2.3