This is the simplest prog which causes the segv:
#include <stdio.h>
main()
{
FILE *fp;
fp = fopen("t", "w");
fclose(fp);
}
If I compile it with
gcc prob.c
it works; but if I use
g++ prob.cc
it bombs!
Suggestions?
Tom Browder
ASI Systems International
A Division of SRS Technologies, Inc.