On 08/22/08 23:04, Daniel Watkins wrote:
On Fri, 22 Aug 2008 23:52:27 -0400
"raman narasimhan" <ramsn88@gmail.com> wrote:
i'm new to debian.. after compilation whenever i type ./a.out, bash
says permission denied or says segmentation fault...
how do i resolve the problem ?
If you get a 'permission denied', ensure that the execute bit is set
('chmod +x <file>').
But gcc sets the file permissions for you.
If you get a segmentation fault, that suggests that the code being
compiled is faulty.
Blame the compiler???? That's a CompSci 101 mistake.