#include #include #include int main(void) { void *win; void *winptr; win = mlx_init(); winptr = (void*)malloc(800 * 600); winptr = mlx_new_window(win, 800, 600, "Cub3d"); mlx_loop(win); free(winptr); free(win); return (0); }