よろしくお願いします。
質問は、ゲームプログラミングの館の18章(http://dixq.net/g/20.html)の
#include "DxLib.h"
typedef struct{
int x,y,img;
}ch_t;
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR lpCmdLine, int nCmdShow ){
int image[16];
char Key[256];
ch_t ch;
~~~以下略~~~
ch_t ch; とするのはなぜでしょうか?
typedef struct{
int x,y,img;
}ch;
ではいけないのでしょうか?