Progressus said:
Here´s my code... please comment...
foo.c:17: warning: string constant runs past end of line
foo.c:1: parse error before `*'
foo.c:2: warning: function declaration isn't a prototype
foo.c: In function `list_cards':
foo.c:3: `PtrCl' undeclared (first use in this function)
foo.c:3: (Each undeclared identifier is reported only once
foo.c:3: for each function it appears in.)
foo.c:3: parse error before `aux'
foo.c:4: `aux' undeclared (first use in this function)
foo.c:4: `NULL' undeclared (first use in this function)
foo.c:8: warning: implicit declaration of function `clrscr'
foo.c:9: warning: implicit declaration of function `printf'
foo.c:12: `CRG' undeclared (first use in this function)
foo.c:12: warning: unreachable code at beginning of switch statement
foo.c:14: `DBT' undeclared (first use in this function)
foo.c:16: `TRF' undeclared (first use in this function)
foo.c:17: warning: ANSI C forbids newline in string constant
foo.c:19: warning: implicit declaration of function `getch'
foo.c:24: warning: implicit declaration of function `Erro'
foo.c: At top level:
foo.c:26: parse error before `*'
foo.c:27: warning: function declaration isn't a prototype
foo.c: In function `mov_card':
foo.c:28: `PtrCl' undeclared (first use in this function)
foo.c:28: parse error before `aux'
foo.c:30: `lista' undeclared (first use in this function)
foo.c:30: `NULL' undeclared (first use in this function)
foo.c:33: warning: implicit declaration of function `scanf'
foo.c:34: `aux' undeclared (first use in this function)
foo.c:29: warning: unused variable `cont'
make: *** [foo.o] Error 1
Thks
No problem.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.