int *p = malloc(LOTS); int v = read_from_network(); int o = read_from_network(); p[o] = v;
Reply on news.ycombinator.com