blob: 701ac33fcbb2fcc1cbb3b6173705001072bf11f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "PuntContainer.h"
#include <iostream>
int main()
{
PuntContainer container;
container.add( 1, 3, 4 );
container.add( 3, 2, 1 );
container.add( 2, 4, 2 );
container.sort2( &PuntContainer::checkZ2 );
container.showAll();
container.sort2( &PuntContainer::checkY2 );
container.showAll();
container.sort2( &PuntContainer::checkX2 );
container.showAll();
return 0;
}
|