Added
Link Here
|
1 |
--- cccc_stg.h.orig Sun Aug 10 18:52:24 1997 |
2 |
+++ cccc_stg.h Sun Jan 12 15:15:42 2003 |
3 |
@@ -13,6 +13,7 @@ |
4 |
#include <string.h> |
5 |
#include <iostream.h> |
6 |
#include <strstream.h> |
7 |
+#include <fstream.h> |
8 |
|
9 |
class CCCC_String { |
10 |
char *cptr; |
11 |
@@ -63,7 +64,7 @@ |
12 |
// we will deliberately read too many characters from the stream, |
13 |
// so the first thing we do is to mark our current position |
14 |
streampos start=is.tellg(); |
15 |
- int state=is.rdstate(); |
16 |
+ istream::iostate state=is.rdstate(); |
17 |
|
18 |
char buffer[MAX_IN_SIZE]; |
19 |
memset(buffer,0,MAX_IN_SIZE); |