aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/StdInStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/Common/StdInStream.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/CPP/Common/StdInStream.cpp b/CPP/Common/StdInStream.cpp
index abad34b..7b209f1 100644
--- a/CPP/Common/StdInStream.cpp
+++ b/CPP/Common/StdInStream.cpp
@@ -14,10 +14,12 @@
14// #define kReadErrorMessage "Error reading input stream" 14// #define kReadErrorMessage "Error reading input stream"
15// #define kIllegalCharMessage "Illegal zero character in input stream" 15// #define kIllegalCharMessage "Illegal zero character in input stream"
16 16
17#define kFileOpenMode TEXT("r")
18 17
19CStdInStream g_StdIn(stdin); 18CStdInStream g_StdIn(stdin);
20 19
20/*
21#define kFileOpenMode TEXT("r")
22
21bool CStdInStream::Open(LPCTSTR fileName) throw() 23bool CStdInStream::Open(LPCTSTR fileName) throw()
22{ 24{
23 Close(); 25 Close();
@@ -39,6 +41,7 @@ bool CStdInStream::Close() throw()
39 _streamIsOpen = (fclose(_stream) != 0); 41 _streamIsOpen = (fclose(_stream) != 0);
40 return !_streamIsOpen; 42 return !_streamIsOpen;
41} 43}
44*/
42 45
43bool CStdInStream::ScanAStringUntilNewLine(AString &s) 46bool CStdInStream::ScanAStringUntilNewLine(AString &s)
44{ 47{