"StreamKid" <[EMAIL PROTECTED]> writes: > Ulrich Eckhardt wrote: >> - If you compile this with warnings turned on, it will give you a warning >> which is the cause of your segmentation fault. > I compiled it with GCC 3.4.6 but I didn't get any warnings!!!
You didn't turn on the warnings then. $ /usr/local/gcc-3.4.6/bin/g++ -Wall junk.c junk.c: In function `int main()': junk.c:16: warning: format argument is not a pointer (arg 2) Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus