delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/08/07:54:26

Date: Wed, 8 Mar 2000 12:15:04 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: caramaith <caramaith AT myokay DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: I don't understand the compiler...(semi-newbie)
In-Reply-To: <38C58257.17B9D688@myokay.net>
Message-ID: <Pine.SUN.3.91.1000308121444.6599M-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 7 Mar 2000, caramaith wrote:

> first and furthermore big thx fly out to Jason, Eli, Damian and Robin
> for helping me out understanding the compiling and linking process. I
> could well read the hundreds of pages with command-line options, but
> this newsgroup is there for giving quick help... thx again!!!

You are welcome.  But please make a good-faith effort to look up the
relevant subjects in the available docs *before* you post the
questions here.  We are not supposed to read the docs for you, only to
augment and explain what's not documented or not clear.

Given the helpful mindset of people on this forum, it is very easy to
misuse or abuse it.  Please don't fall for this bait.

> videostack.cpp:10: 'Stack' undeclared(first use this function)
> videostack.cpp:10: parse error before ';'
> videostack.cpp:11: 'videoStack' undeclared(first use this function)
[snip]
> int main()
>   {
>     Stack videoStack;               | line 10
>     videoStack.initialize();        | line 11
[snip]
> struct Stack {
>   struct Link {

Line 10 should have been this:

    struct Stack videoStack;

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019