Barry Gold wrote:
> Or if you're in C instead of C++,
>
> ...
> pData = malloc(sizeof(DATA));
> ...
> free(pData);
> ...
Oops, forgot, if you're in C then struct DATA doesn't declare "DATA" as
a type, only as a struct tag. So the above malloc should read:
pData = malloc(sizeof(struct DATA));
To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
