3027
This commit is contained in:
parent
2367988301
commit
385ff13617
|
@ -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.
|
||||
|
|
10
001help.cc
10
001help.cc
|
@ -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;
|
||||
|
|
|
@ -108,4 +108,4 @@ void test_is_integer() {
|
|||
}
|
||||
|
||||
:(before "End Includes")
|
||||
#include<cstdlib>
|
||||
#include <cstdlib>
|
||||
|
|
16
003trace.cc
16
003trace.cc
|
@ -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))
|
||||
|
||||
|
|
4
010vm.cc
4
010vm.cc
|
@ -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>
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -59,4 +59,4 @@ def main [
|
|||
+mem: storing 12 in location 1
|
||||
|
||||
:(before "End Includes")
|
||||
#include<math.h>
|
||||
#include <math.h>
|
||||
|
|
Loading…
Reference in New Issue