-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo.cc
48 lines (36 loc) · 870 Bytes
/
demo.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* octree/demo.cc */
#include "octree.hh"
#include <iostream>
#include <cstdlib>
struct foo
{
foo* parent_ ;
foo* children_[8] ;
};
int
main( int /* argc */, char**/* argv */ )
{
foo*f = new foo ;
delete f ;
f = NULL ;
/* std::cout */
/* << std::endl */
/* << __PRETTY_FUNCTION__ << " at " */
/* << __FILE__ << ":" << std::dec << __LINE__ */
/* << std::endl */
/* ; */
/* for( int i = 0 ; i != argc ; ++i ) */
/* std::cout */
/* << "argv[i] == \"" << argv[i] << "\"" */
/* << std::endl */
/* ; */
/* octree::node*o = octree::init(); */
/* std::cout */
/* << "node_t*o == " */
/* << std::hex << std::showbase */
/* << reinterpret_cast< unsigned long >( o ) */
/* << std::endl */
/* ; */
/* octree::destroy( o ); */
return EXIT_SUCCESS ;
}