diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Handle.h | 2 | ||||
-rw-r--r-- | includes/String.h | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/includes/Handle.h b/includes/Handle.h index 3b9c9dc..6e26e9c 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -4,7 +4,7 @@ #include <zlib.h> #include <unistd.h> -#include <iostream.h> +#include <iostream> #include <String.h> #include <Exceptions.h> diff --git a/includes/String.h b/includes/String.h index b53936f..f8db2c7 100644 --- a/includes/String.h +++ b/includes/String.h @@ -2,7 +2,7 @@ #define __STRING_H__ #ifdef __cplusplus -#include <iostream.h> +#include <iostream> #include <string.h> #include <Exceptions.h> @@ -13,10 +13,8 @@ class String : public Base { String(char); String(int); String(unsigned int); -#ifdef USE_LONGLONG String(long long); String(unsigned long long); -#endif String(double); ~String(); const char * set(const char *, ...); @@ -58,8 +56,8 @@ class String : public Base { size_t siz; }; -ostream & operator<<(ostream &, const String &); -istream & operator>>(istream &, String &); +std::ostream & operator<<(std::ostream &, const String &); +std::istream & operator>>(std::istream &, String &); #else #error This only works with a C++ compiler |