23 lines
391 B
C++
23 lines
391 B
C++
#ifndef DTL_EXAMPLE_COMMON_H
|
|
#define DTL_EXAMPLE_COMMON_H
|
|
|
|
#include <cassert>
|
|
#include <cstdio>
|
|
#include <fstream>
|
|
#include <sstream>
|
|
|
|
#include <fcntl.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/types.h>
|
|
#include <time.h>
|
|
#ifdef HAVE_UNISTD_H
|
|
#include <unistd.h>
|
|
#endif // HAVE_UNISTD_H
|
|
|
|
#include "dtl/dtl.hpp"
|
|
|
|
bool isFileExist(std::string &fs);
|
|
bool isFewArgs(int argc, int limit = 3);
|
|
|
|
#endif
|