Date: Wed, 5 Mar 1997 10:41:25 +0200 (IST) From: Eli Zaretskii To: "W. L. Estes" cc: djgpp AT delorie DOT com Subject: Re: gettextinfo(), cprintf() question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 4 Mar 1997, W. L. Estes wrote: > text_info *foo; > gettextinfo (*foo); > cprintf ("%u", foo.screenheight); > return 0; > } > > I am told that text_info and foo are undeclared. what should i be > doing? You should write this: struct text_info foo; gettextinfo (&foo); and then it will work, including the call to `cprintf'.