Altera_Forum
Honored Contributor
19 years agostruct
struct test { int number; char name[20]; }; test t; in the nios ide the compiler says: test undeclared, why?
--- quote start ---
<!--quotebegin-asegers@Jul 19 2006, 01:18 PM struct test
{
int number;
char name[20];
};
test t;
in the nios ide the compiler says: test undeclared, why?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17003)
--- quote end ---
--- Quote End --- http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif try typedef struct test { int number; char name[20]; }; thanks, but still the same err. test t; <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17006)</div> [/b] --- Quote End ---