I basically want to the C of equivalent of this (well, just the part with the array, I don't need the class and string parsing and all that):
public class Example
{
static int[] foo;
public static void main(String[] args)
{
int size = Integer.parseInt(args[0]);
foo = new int[size]; // This part
}
}
Pardon my C ignorance. I've been corrupted by java ;)