| 12345678910111213141516171819202122232425262728293031323334353637 |
- #include <time.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdint.h>
- #include <string.h>
- #include <wchar.h>
- #ifdef _WIN32
- #include <windows.h>
- #else
- #include<sys/types.h>
- #include<sys/stat.h>
- #endif
- typedef struct {
- char* pbuf;
- int dlen;
- int blen;
- }node_t;
- class myFile {
- public:
- char* wchar_to_char(wchar_t* tchr);
- wchar_t* char_to_wchar(char* chr);
- int read_file(char* path, node_t* nd);
- int get_time(char *path, char *time, int len);
- int get_version(char* path, void* version, int len);
-
- };
|