Created
June 19, 2013 13:59
-
-
Save dangkhoasdc/5814535 to your computer and use it in GitHub Desktop.
Template header file. The order is just my experience. It is useful for small and medium projects.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* * * * * * * * * * * * * * * * * * * * | |
* System and Standard Library header file | |
* Author: DangKhoaSDC. | |
* * * * * * * * * * * * * * * * * * * * / | |
#ifndef _STANDARDLIBS | |
#define _STANDARDLIBS | |
#ifndef __cplusplus | |
#error "Must use C++ compiler!!" | |
#endif | |
/* Use pre-defined C/C++ compiler macros to determinate OS, | |
* version or architectures | |
* More info: http://sourceforge.net/p/predef/wiki/Home/ | |
*/ | |
#ifdef _WIN32 | |
/* * * * * * * * * | |
* Place for Windows | |
* * * * * * * * */ | |
#endif | |
#ifdef __gnu_linux__ | |
/* * * * * * * * * | |
* Place for Windows | |
* * * * * * * * */ | |
#endif | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
#include <cstdlib> | |
#include <cstdio> | |
/* | |
* User-defined header file | |
*/ | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment