prog.c:4: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable : 4996)
prog.c:6:1: error: unknown type name ‘bool’; did you mean ‘_Bool’?
bool check[512];
^~~~
_Bool
prog.c:9:35: error: unknown type name ‘bool’; did you mean ‘_Bool’?
char *first(char target[512][512],bool check[],int n) {
^~~~
_Bool
prog.c: In function ‘main’:
prog.c:58:3: warning: implicit declaration of function ‘gets_s’; did you mean ‘getenv’? [-Wimplicit-function-declaration]
gets_s(input[RuleNum]);
^~~~~~
getenv
prog.c:59:20: error: ‘false’ undeclared (first use in this function); did you mean ‘fclose’?
check[RuleNum] = false;
^~~~~
fclose
prog.c:59:20: note: each undeclared identifier is reported only once for each function it appears in
prog.c:65:4: warning: implicit declaration of function ‘first’ [-Wimplicit-function-declaration]
first(input, check,n);
^~~~~
prog.c:72:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
system("pause");
^~~~~~~~~~~~~~~