[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] about globle variables

From: qingchuan sun
Subject: [igraph] about globle variables
Date: Sat, 11 Jul 2009 11:23:39 +0800

i know it is not a good idea to use names such as time and count for
globle variables. But i use it, and a strange thing happend. The code
is list here

#include <stdio.h>
#include <igraph.h>
FILE *time, *count;
igraph_t G;

It can be compiled well. But when run it, the problem of segment fault
occure. If we delete the line "FILE ..." , and compile it, then it can
work well.

i want to know, what is the problem with it.
the version of the igraph i use is 0.5.2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]