1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
#include <stdlib.h> #include "tripgraph.h" using namespace std; int main(int argc, char *argv[]) { // this example does nothing other than simply load a graph into memory // useful for profiling memory usage if (argc < 2) { printf("Usage: %s <graph file> ", argv[0]); return 1; } printf("Loading graph...\n"); TripGraph g; g.load(argv[1]); return 0; } |