Jump to: navigation, search

Difference between revisions of "Test"

 
Line 1: Line 1:
 +
==Code==
 +
 
<source lang="c">
 
<source lang="c">
 
#include <iostream>
 
#include <iostream>
Line 15: Line 17:
 
}
 
}
 
</source>
 
</source>
 +
 +
==Math==
 +
 +
<math>
 +
x + y
 +
x \implies y
 +
</math>

Latest revision as of 12:28, 8 September 2015

1 Code

#include <iostream>

int main(int argc, char *argv[]) {

  /* An annoying "Hello World" example */
  for (auto i = 0; i < 0xFFFF; i++)
    cout << "Hello, World!" << endl;

  char c = '\n';
  unordered_map <string, vector<string> > m;
  m["key"] = "\\\\"; // this is an error

  return -2e3 + 12l;
}

2 Math