[ create a new paste ] login | about

ArtemGr

Name:
Email:
Site/Blog:
Location: St. Petersburg, Russia
Default language: C++
Favorite languages: C++, Scala, Rust
About:

Saved pastes by ArtemGr:

C++, pasted on Jul 6:
1
2
3
4
5
#include <iostream>
using namespace std;

int main () {
  char esc = '\x1B';
...
view (10 lines, 2 lines of output)
C++, pasted on Jun 13:
1
2
3
4
5
#include <iostream>
using namespace std;

int main () {
  double x = 1.37 + 1.26 + 1.32; double y = 2.18;
...
view (11 lines, 2 lines of output)
C++, pasted on May 24:
1
2
3
4
5
// Size of SSO string:
// http://gcc.gnu.org/onlinedocs/gcc-4.6.3/libstdc++/api/a01035_source.html
// http://stackoverflow.com/questions/5419016/string-class-allocating-on-stack-for-small-strings

#include <iostream>
...
view (19 lines, 1 line of output)
C++, pasted on May 24:
1
2
3
4
5
#include <iostream>
using namespace std;

int main () {
  cout << "hi" << endl;
...
view (8 lines, 1 line of output)