[ create a new paste ] login | about

Link: http://codepad.org/teq2fuVp    [ raw code | output | fork ]

C++, pasted on Mar 8:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>

// i don't know what Vector is so we need a dummy implementation
template <class T>
class Vector { };

struct arc;

struct node {
	Vector<arc> arcs;
	arc *myarc;
};

struct arc {
	node *one;
	node *two;
};

int main() {
    std::cout << "harr\n";
}


Output:
1
harr


Create a new paste based on this one


Comments: