meaning of typedef ...and something more

2007-01-16 Thread Laura Tardivo

Hi, my question is about the meanig of qualifiers in combination with 
typedefs. For example:

typedef int function1();
typedef int function2();
...
typedef function1 transition1;
typedef function2 transition2;
...
int Def_Fun( volatile transition1);
int Def_Fun( volatile transition2 const);

Specífically, between functionX and transitionX, and before functionX we can 
add pointer, volatile and const, but what are the meanings of this 
cualifiers in that places.
Someone can help us?. Thanks!



--
Departamento de Computaciòn
Universidad Nacional de Río Cuarto



initialization and enums in new version of gcc

2007-01-25 Thread Laura Tardivo

I whant to know if the enum definition was changed in the last versions of 
gcc because in the ansi C you can not define:

enum COLOR{RED,GREEN,};

the last comma only is correct if you are defining an initialization of a 
variable. But it is allowed in gcc 4.1.1

Laura.-



Working with c

2006-03-23 Thread Laura Tardivo

Hello, my name is Laura and I need to know where I could find or download the
oldest version of de "C" compiler. I look forward to hearing from you.
--
Departamento de Computaciòn
Universidad Nacional de Río Cuarto -Córdoba - Argentina