G
greg
Hi All.
I am wondering if the following is legal
strcuct P1
{
int i;
double *};
main()
{
struct P1 per;
per.P1=(double*)malloc(sizeof(double)*100);
}
--
Grigoris Lionis
PhD Student
Control Systems Lab, Mechanical Eng. Dept.
National Technical University of Athens
9 Heroon Polytechniou Str., Zografou
Athens 15700, Greece
I am wondering if the following is legal
strcuct P1
{
int i;
double *};
main()
{
struct P1 per;
per.P1=(double*)malloc(sizeof(double)*100);
}
--
Grigoris Lionis
PhD Student
Control Systems Lab, Mechanical Eng. Dept.
National Technical University of Athens
9 Heroon Polytechniou Str., Zografou
Athens 15700, Greece