2020-12-07から1日間の記事一覧

C言語とSDLでハナハナもどき

C言語とSDLを使って、スロットもどきを作ってみました。 Big.c, reguler.c, hanahana.c(これがmain関数)の3つのファイルを使います。 <Big.c> #include <stdlib.h>#include <stdio.h>#include <string.h> /* SDLライブラリヘッダーインクルード */#include <SDL/SDL.h>#include <SDL/SDL_image.h>#include <SDL/SDL_ttf.h>#include <SDL/SDL_mixer.h> SDL_Su</sdl/sdl_mixer.h></sdl/sdl_ttf.h></sdl/sdl_image.h></sdl/sdl.h></string.h></stdio.h></stdlib.h></big.c>…