2016-05-09 20:38:47 +02:00
|
|
|
|
--- MString.H.orig 2000-06-22 14:58:26 UTC
|
|
|
|
|
+++ MString.H
|
2006-10-04 07:41:19 +02:00
|
|
|
|
@@ -66,7 +66,7 @@
|
|
|
|
|
#ifndef ___STRING_H___
|
|
|
|
|
#define ___STRING_H___
|
|
|
|
|
|
|
|
|
|
-#include <iostream.h>
|
|
|
|
|
+#include <iostream>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <string.h>
|
|
|
|
|
@@ -75,6 +75,7 @@
|
|
|
|
|
|
|
|
|
|
#include "Define.H"
|
|
|
|
|
|
|
|
|
|
+using namespace std;
|
|
|
|
|
|
|
|
|
|
//#define STRING_DEBUG
|
|
|
|
|
|
2016-05-09 20:38:47 +02:00
|
|
|
|
@@ -307,15 +308,15 @@ class String
|
2014-05-17 10:42:00 +02:00
|
|
|
|
|
|
|
|
|
// m ʸ<><CAB8><EFBFBD>ܤ<EFBFBD><DCA4><EFBFBD> n ʸ<><CAB8>
|
|
|
|
|
String& Mid(int m, int n = 1) ;
|
|
|
|
|
- friend String Mid(String s, int m, int n = 1) ;
|
|
|
|
|
+ friend String Mid(String s, int m, int n) ;
|
|
|
|
|
|
|
|
|
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> n ʸ<><CAB8>
|
|
|
|
|
String& Left(int n = 1) ;
|
|
|
|
|
- friend String Left(const String& s, int n = 1) ;
|
|
|
|
|
+ friend String Left(const String& s, int n) ;
|
|
|
|
|
|
|
|
|
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> n ʸ<><CAB8>
|
|
|
|
|
String& Right(int n = 1) ;
|
|
|
|
|
- friend String Right(const String& s, int n = 1) ;
|
|
|
|
|
+ friend String Right(const String& s, int n) ;
|
|
|
|
|
|
|
|
|
|
String FileDirectory() const ;
|
|
|
|
|
String FileNamePart() const ;
|