This commit is contained in:
Kartik K. Agaram 2016-06-02 10:40:06 -07:00
parent 2367988301
commit 385ff13617
7 changed files with 20 additions and 20 deletions

View File

@ -113,7 +113,7 @@ int main(int argc, char* argv[]) {
//: our first directive; will move the include above the program
:(before "End Includes")
#include<stdlib.h>
#include <stdlib.h>
//: Without directives or with the :(code) directive, lines get added at the
//: end.

View File

@ -133,17 +133,17 @@ bool has_data(istream& in) {
}
:(before "End Includes")
#include<assert.h>
#include <assert.h>
#include<iostream>
#include <iostream>
using std::istream;
using std::ostream;
using std::iostream;
using std::cin;
using std::cout;
using std::cerr;
#include<iomanip>
#include <iomanip>
#include<cstring>
#include<string>
#include <cstring>
#include <string>
using std::string;

View File

@ -108,4 +108,4 @@ void test_is_integer() {
}
:(before "End Includes")
#include<cstdlib>
#include <cstdlib>

View File

@ -340,25 +340,25 @@ string trim(const string& s) {
}
:(before "End Includes")
#include<vector>
#include <vector>
using std::vector;
#include<list>
#include <list>
using std::list;
#include<map>
#include <map>
using std::map;
#include<set>
#include <set>
using std::set;
#include<algorithm>
#include <algorithm>
#include<sstream>
#include <sstream>
using std::istringstream;
using std::ostringstream;
#include<fstream>
#include <fstream>
using std::ifstream;
using std::ofstream;
#include"termbox/termbox.h"
#include "termbox/termbox.h"
#define unused __attribute__((unused))

View File

@ -671,6 +671,6 @@ void test_trim_floating_point() {
}
:(before "End Includes")
#include<utility>
#include <utility>
using std::pair;
#include<math.h>
#include <math.h>

View File

@ -243,8 +243,8 @@ void load_all(string dir) {
free(files);
}
:(before "End Includes")
#include<dirent.h>
#include<sys/stat.h>
#include <dirent.h>
#include <sys/stat.h>
//:: Reading from memory, writing to memory.

View File

@ -59,4 +59,4 @@ def main [
+mem: storing 12 in location 1
:(before "End Includes")
#include<math.h>
#include <math.h>