Mail Archives: djgpp/2000/03/08/13:47:23
Eli Zaretskii schrieb:
>
> 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;
nah, this doesn't work... compiler complains about insufficient type
definition. but to create an object of type Stack it seems illogical to
me to first declare this a struct again... anyway I tried and it doesn't
work. and - yes this is a c++ snippet of code, I encapsulated the
functions within the struct.
thx anyway...
cara
- Raw text -