TRF Language Model
wb-linux.h
Go to the documentation of this file.
1 // You may obtain a copy of the License at
2 //
3 // http://www.apache.org/licenses/LICENSE-2.0
4 //
5 // Unless required by applicable law or agreed to in writing, software
6 // distributed under the License is distributed on an "AS IS" BASIS,
7 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8 // See the License for the specific language governing permissions and
9 // limitations under the License.
10 //
11 // Copyright 2014-2015 Tsinghua University
12 // Author: wb.th08@gmail.com (Bin Wang), ozj@tsinghua.edu.cn (Zhijian Ou)
13 //
14 // All h, cpp, cc, and script files (e.g. bat, sh, pl, py) should include the above
15 // license declaration. Different coding language may use different comment styles.
16 
17 
18 #pragma once
19 #ifdef __linux
20 #include <iostream>
21 #include <ctime>
22 #include <cstring>
23 using namespace std;
24 #include <stdio.h>
25 #include <stdlib.h>
26 
27 #define _ftelli64 ftello64
28 #define _fseeki64 fseeko64
29 #define _vsnprintf vsnprintf
30 
31 namespace wb
32 {
36  void _strdate(char *str);
37  void _strtime(char *str);
38  void getch();
40 }
41 #endif //__linux
define all the code written by Bin Wang.
Definition: wb-file.cpp:21