> HI > I am using redhat9 and i am doing my C and C++ in that using terminal. it > compiles but a.out is not working. when id do it it "./filename.c" it says > segmentation fault in line. please suggest me. > manish > Try using ./a.out
we use ./<filename>, to execute the file in the current directory with the corresponding filename. Segmentation fault is generally due to illegal memory access. Try using some debugger (gdb) to find out the error or if you are not comfortable with the debugger, try using the printf statements to find out the errors. Cheers! _________________________________________________________________ > Access Hotmail from your mobile now. > http://server1.msn.co.in/sp03/mobilesms/ Click here. > > > _______________________________________________ > ilugd mailing list > [EMAIL PROTECTED] > http://frodo.hserus.net/mailman/listinfo/ilugd > _______________________________________________ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd