2 votes
Accepted

pset3: "generate" problem translating

From the documentation: "The C library function time_t time(time_t *seconds) returns the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds. If seconds is not NULL, the return ...
Cliff B's user avatar
  • 68.7k
1 vote

Binary Search Pset 3 help

The only thing wrong in your searching algorithm that i'm seeing is that you have your if statement followed by a second if statement. I believe that that should be an else if.
Davis's user avatar
  • 144
1 vote

Pset 3 generate

The man page for srand48 includes the lines: Feature Test Macro Requirements for glibc (see feature_test_macros(7)): All functions shown above: _SVID_SOURCE || _XOPEN_SOURCE You'll find everything ...
DinoCoderSaurus's user avatar
1 vote
Accepted

How to pipe PRNg into find.c debug GUI?

I don't think anyone has figured that one out. It may not be possible, but I would be happy for someone to prove me wrong. OTOH, why do you want to work with so much input data in the debugger? ...
Cliff B's user avatar
  • 68.7k

Only top scored, non community-wiki answers of a minimum length are eligible