c++ struct arrays
Posted: Tue Jul 15, 2003 9:30 am
does c++ have the capability of arrays of structs? like:
structname s[100];
and then you can:
s[1].amount=100;
structname s[100];
and then you can:
s[1].amount=100;
True, but AoUP is unequivocal propaganda; it's stated purpose is to convert you to the Unix Way. The Jargon File is supposedly a more objective work, meant to reflect hackerdom ('hackers' in the older sense of wizard programmers, not in the sense of electronic tresspassers) as a whole, not just the Unix and Open Source communities. While he's done a reasonable job of it, his strong opinions come through, more and more over time. Also, he's not immune to stroking his own ego, as shown by the entries for 'Halloween Documents' and 'Anti-Idiotarianism', two things he was personally responsible for and which no one else gives half a damn about anymore (or, in the latter case, ever did). Don't get me wrong; he's usually pretty fair and balanced, and is rather concienscious about what does and doesn't go in the File (and he uses a fairly light touch in moderating the Jargon-Helpers list). However, he's definitely human, and as full of his own ideosyncrasies as any of us.Tim Robinson wrote: More so The Art Of Unix Programming, which is full of apparently made-up statements about Windows NT. I had to stop reading after I learned that programs had no standard way of accessing the Registry.