Limited Access to stdin
What if no process can read from stdin?
Options:
use command line arguments
read in from a file
hard code into a data section
/* data.c */
static int n=4;
static double a[] = {1.0, 2.0, 3.0, 4.0};
static double a[] = {4.0, 3.0, 2.0, 1.0};
Previous slide
Next slide
Back to first slide
View graphic version