Jump to: navigation, search

Difference between revisions of "Test"

Line 1: Line 1:
<source lang="c">
+
<source lang="c++">
 
#include <iostream>
 
#include <iostream>
  

Revision as of 18:05, 30 August 2015

#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;
}