#include #include extern "C" int CreateSMatrix(igraph_t* g, double** S); int main(int argc, char **argv) { std::cout << "Hello, world!" << std::endl; for(int i=0; i<1000; i++){ std::cout << i << std::endl; igraph_t g; igraph_erdos_renyi_game(&g, IGRAPH_ERDOS_RENYI_GNP, 1000, 8.0/1000, 0, IGRAPH_NO_LOOPS); long sizeS = igraph_vcount(&g); double** S = new double*[sizeS]; for(long int i=0; i