Re: compiling okay, success running gtk-app computer dependant



edward hage wrote:

7: int main()
8: {

[...]

11:  GDate *date;

Here you have a stray pointer.

[...]

18:  g_date_set_time (date, current_time);
19:  g_print("day = %d\n", date->day);

And here you are using it. What about initializing it first?
I rest my case. :)


Daniel K. O.




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