help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: structs and STL stack


From: red floyd
Subject: Re: structs and STL stack
Date: Fri, 17 Mar 2006 23:30:00 GMT
User-agent: Thunderbird 1.5 (Windows/20051201)

Thomas Maeder wrote:
Christian Christmann <plfriko@yahoo.de> writes:

1. you generally want to divorce type declarations and variable
declarations.
Sorry, but what do you exactly mean by that?

This:

        struct storeInfo {
          int a;
        } structInfo;

defines both a type storeInfo and an object structInfo of that
type. He suggests that you first define the type and then the object,
in separate statements.

Thanks, Thomas.  I missed his question on that.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]