\r
// includes\r
\r
-#include <cstdio>\r
+#include <stdio.h>\r
\r
#include "util.h"\r
\r
-// constants\r
+// defines\r
\r
-const int PGN_STRING_SIZE = 256;\r
+#define PGN_STRING_SIZE 256\r
\r
// types\r
\r
-struct pgn_t {\r
+typedef struct {\r
\r
FILE * file;\r
\r
int move_line;\r
int move_column;\r
int game_nb;\r
-};\r
+} pgn_t;\r
\r
// functions\r
\r