Sono su VisualC++ 6.0 .
Come mai questi errori?
codice:bool keys[256]; bool active=true; bool fullscreen=false;
prova.c
D:\...prova.c(11) : error C2061: syntax error : identifier 'keys'
D:\...prova.c(11) : error C2059: syntax error : ';'
D:\...prova.c(11) : error C2059: syntax error : '['
D:\...prova.c(12) : error C2061: syntax error : identifier 'active'
D:\...prova.c(12) : error C2059: syntax error : ';'
D:\...prova.c(12) : error C2513: '/*global*/ ' : no variable declared before '='
D:\...prova.c(12) : error C2065: 'true' : undeclared identifier
D:\...prova.c(13) : error C2061: syntax error : identifier 'fullscreen'
D:\...prova.c(13) : error C2059: syntax error : ';'
D:\...prova.c(13) : error C2513: '/*global*/ ' : no variable declared before '='
D:\...prova.c(13) : error C2065: 'false' : undeclared identifier