testing-repository/cpp/xeinit_glib/main.c

8 lines
152 B
C
Raw Normal View History

2022-08-31 19:51:26 +08:00
#include <glib.h>
int main(int argc, char **argv){
int x;
x = g_random_int_range(0, INT_MAX);
g_print("%d %d\n", x % 2, x);
return 0;
}