[prog] C programming - capturing information sent to stdout
Mary
mary-linuxchix at puzzling.org
Fri Jul 15 11:40:48 EST 2005
On Fri, Jul 15, 2005, Mary wrote:
> This is what happens when I compile and run the attached:
Sorry, the list stripped the attachment. This is it inline:
--- Code ---
#include <assert.h>
#include <stdio.h>
int main() {
assert(1==0);
printf("Did I crash? If I did, this line won't print.\n");
}
--- End of code ---
You can also grab a copy from
http://users.puzzling.org/users/mary/src/junkcode/testassert.c
-Mary
More information about the Programming
mailing list