about summary refs log blame commit diff stats
path: root/cpp/literate/009includes
blob: c49c6c217efcb29e4ae7325773f6ce1ca8ccc6fb (plain) (tree)














































                                                                     
// Some common includes needed all over the place.
// More tightly-targeted includes show up in other files.

:(before "End Includes")
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<errno.h>
#include<time.h>
#include<math.h>
#include<vector>
using std::vector;
#include<list>
using std::list;
#include<stack>
using std::stack;
#include<utility>
using std::pair;

#include<tr1/unordered_map>
using std::tr1::unordered_map;
#include<tr1/unordered_set>
using std::tr1::unordered_set;
#include<algorithm>

#include<string>
using std::string;
#define NOT_FOUND string::npos  // macro doesn't complain about redef

#include<iostream>
using std::istream;
using std::ostream;
using std::iostream;
using std::cin;
using std::cout;
using std::cerr;

#include<sstream>
using std::stringstream;
using std::istringstream;
using std::ostringstream;

#include<fstream>
using std::ifstream;
using std::ofstream;

#define unused  __attribute__((unused))