Re: Requesting sample code!




"Robby" <Robby@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:D5C24F3D-48B4-434B-A6E9-625F9CEEE91A@xxxxxxxxxxxxxxxx
Dear barry,

Write 100 times, a function can never be a member of a struct.
Understood!

<snip>

Jeez! Ever heard of repetition structures?

for(int i = 0; i < 100; i++)
{
cout << "A function can never be a member of a struct."<< endl;
}

(Yeah, I know it's C++ and you *can* define functions in C++ structs, but not in C)

Lighten up, Barry.


.