include differences

Started by
10 comments, last by Jason2Jason 21 years, 11 months ago
quote:Original post by Oluseyi
[offtopic]
Your Geek structure a.) will not compile, and b.) is susceptible to bugs. You can''t declare void variables, and it''s better for you to store age as an unsigned int (so it can never be negative).
[/offtopic]

And e_mail should be a function [pointer], not a variable.
---visit #directxdev on afternet <- not just for directx, despite the name
Advertisement
Heh, it''s not supposed to work.

struct Geek {
void e_mail = belgedin@earthlink.net;
void url;
int age = 17;
};
"I thought Genius lived in bottles..." - Patrick Star

This topic is closed to new replies.

Advertisement