|
-
July 12th, 2002, 09:19 AM
#1
Simple struct/union/etc syntax question
This is probably a stupid question, but here goes. I've noticed in people's code that sometimes when they declare unions or structs, there is the string 'tag' as part of the name. I've always wondered, what does this mean, and what does it do? I've just never been introduced to this particular syntax. I always just use
typedef struct
{
int a;
char b;
double c;
} structName;
Am I missing something by using this syntax?
Edit: While I'm at it, I've got another stupid question. I know with the old-style forums, you could use [ccode] [/ccode] to format C/C++ code to be readable. Is there any comparable feature with the new forum software?
Last edited by Bob Davis; July 12th, 2002 at 09:22 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|