[ create a new paste ] login | about

Nameless

Name:
Email:
Site/Blog:
Location:
Default language: C++
Favorite languages:
About:

Saved pastes by Nameless:

C++, pasted on Nov 9:
1
2
3
4
5
template <typename T>
class SomeClass
{
    public:
        struct data {};
...
view (18 lines)
C++, pasted on Aug 7:
1
2
3
4
#include <iostream>
#include <sstream>

#define dbg(EXP) std::cout << std::boolalpha << #EXP ": " << (EXP) << std::endl
...
view (15 lines, 2 lines of output)
C++, pasted on Aug 4:
1
2
3
4
5
#include <stdio.h>

int main()
{
    printf("%s", (sizeof(char)==sizeof('a') ? "C++" : "C"));
...
view (7 lines, 1 line of output)
C, pasted on Aug 4:
1
2
3
4
5
#include <stdio.h>

int main()
{
    printf("%s", (sizeof(char)==sizeof('a') ? "C++" : "C"));
...
view (7 lines, 1 line of output)
C, pasted on Aug 3:
1
2
#include <stdio.h> 
int main(char*a){printf(a,34,a="#include <stdio.h> int main(char*a){printf(a,34,a=%c%s%c,34);}",34);}
view (2 lines, 2 lines of output)
C, pasted on Aug 3:
1
2
#include <stdio.h>
int main(char*a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);}
view (2 lines, 2 lines of output)
C, pasted on Apr 12:
1
2
3
4
5
#include <stdio.h>

#define num 7

int main(void)
...
view (63 lines, 7 lines of output)
C, pasted on Mar 29:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
 
typedef struct lstTag
{
...
view (69 lines, 6 lines of output)
C++, pasted on Mar 21:
1
2
3
4
5
#include <iostream>
 
int main()
{
   int z=104;
...
view (18 lines, 1 line of output)
C++, pasted on Mar 21:
1
2
3
4
5
#include <iostream>
 
int main()
{
   int z=141;
...
view (18 lines, 1 line of output)
C++, pasted on Mar 21:
1
2
3
4
5
#include <iostream>
 
int main()
{
   int z=401;
...
view (18 lines, 1 line of output)
C++, pasted on Mar 21:
1
2
3
4
5
#include <iostream>

int main()
{
   int foo(const int n)
...
view (10 lines, 3 lines of output)
C++, pasted on Mar 21:
1
2
3
4
5
#include <iostream>

int main()
{
   int foo(const int n);   
...
view (12 lines, 1 line of output)
C++, pasted on Mar 15:
1
2
3
4
5
#include <iostream>

bool func_(const char *beg){
	char id = *beg;
	for( ; *beg ; ++beg, ++id)
...
view (17 lines, 1 line of output)
C++, pasted on Feb 23:
1
2
3
4
5
int main(int argc,char *argv[])
{
int a=12;
int b=6;
int half;
...
view (15 lines, 1 line of output)
C, pasted on Feb 23:
1
2
3
4
5
#include<stdio.h>
int main()
{
    int m=512;
    printf("m=%i", m);
...
view (12 lines, 2 lines of output)
C++, pasted on Feb 19:
1
2
3
4
5
#include <iostream>
 
char* invert(char* str)
{
    size_t count=strlen(str);
...
view (23 lines, 2 lines of output)
C++, pasted on Feb 18:
1
2
3
4
5
#include <iostream>
using namespace std;
 
int main()
{
...
view (12 lines, 5 lines of output)