Really? It works for me.
Code:
#include <stdio.h>
struct foo
{
char *word;
float ta;
float me;
float hom3z;
float yo;
} peace[] =
{
{ "out", 1.337, 1.2, 2.333, 4.444 },
{ "w0rd", 2.5, 6666.9, 867.5309, 0.1812 },
{ "give", 0.0, 2.222, 12.9, 999.0 },
{ "propz", 1.1, 3.333, 23141.2, 12.0 },
{ "yo", 0.0, 0.0, 10.01, 9.9 }
};
int main( void )
{
int x;
for( x = 0; x < sizeof peace / sizeof peace[0]; x++ )
{
printf("%-20s %-15.5f %-15.5f %-15.5f %-15.5f\n",
peace[x].word, peace[x].ta, peace[x].me,
peace[x].hom3z, peace[x].yo );
}
return 0;
}
Murtaugh: Word, Riggs!
Riggs: Word Rog.
Murtaugh: What are we talking about?
Riggs: Word, four letters, starts with W, OR in the middle, D on the end. Word.
Murtaugh: Oh, that word.
Quzah.