Skip to main content

Questions tagged [straw]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

find.c in Pset 3; int straw = get_int(); ./generate 1000 50 | ./find 127; Why I can't see this pseudorandom numbers?

How can I supplement this code printf("\nhaystack[%i] = ", size);that I can see the actual pseudorandom numbers that each i-th[] contain inside itself after haystack[1000] = using this command ./...
Yellowfun's user avatar
  • 105
0 votes
1 answer
64 views

find.c in Pset 3; int straw = get_int(); ./generate 1000 50 | ./find 127; From where and how it takes 1000?

In the find.c there is the following code for (size = 0; size < MAX; size++) { // wait for hay until EOF printf("\nhaystack[%i] = ", size); int straw = get_int(); // ?...
Yellowfun's user avatar
  • 105