| delorie.com/archives/browse.cgi | search |
| Date: | 13 Jan 1994 10:11:18 -0800 (PST) |
| From: | Gregory Eakin <XGEAKIN AT CCVAX DOT FULLERTON DOT EDU> |
| Subject: | Re: test.cc |
| To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Dear Thomas,
You have a global function named "ng"
> int ng(PunktGruppe gb); /* # of elements of group gb */
and a local variable "ng" in main().
> int n, na, nb, ng;
The compiler is confusing the two. Just rename one of them, and
the program will compile.
-- Greg
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |