|
From: <or...@vp...> - 2004-01-31 12:30:19
|
Maya wrote:
> In the first one you have declared a struct named _Human and=20
> instantiated it right after the declaration with name Human. In your=20
> program you can just say for instance: " Human.height =3D 1.70 " and it=
=20
> will work
> Here is another example:
> typedef struct _Human {
> int height;
> }Human;
>=20
> int main(){
> std::cout << "The Human Project" << std::endl;
> std::cout << "How tall are you " ;
> std::cin >> Human.height;
> return 0;
> }
No, it is not true. In fact this doesn't even work.
--
Greetings,
Bal=C3=A1zs
|