Hi, when ever I run the function below I get a compiler error saying ISO c++ forbids comparison between pointer and integer, please help.
Code:void Choice_cb(Fl_Widget*, void*v) { int *g = (int*)g; printf("%d\n", g); if (g == 1) printf("C Programming\n"); }