isn't there any way to do this:
ask user for some integer > 0
make an array that big
cos i'd like to...
would this work:
int thing[0], *ptr = thing;
int in;
...
printf ("Enter a number > 0:");
scanf ("%d", &in);
realloc (ptr, in);
...
?
- Re: Arrays James [on his mailserver]
- Re: Arrays Ken Dunn
- Re: Arrays Glynn Clements
- Arrays Richard Ivanowich
- Re: Arrays Ken Dunn
- Re: Arrays mojahed
- Re: Arrays James
- Re: Arrays Richard Ivanowich
