|
From: Reid T. <Rei...@at...> - 2005-05-18 15:30:16
|
Patel, Nilesh M wrote: > I have written a project in C++ and I am using a terminal to > compile my code. When I compile my project using g++ > (allFiles.cpp allFiles.h) -o ABC, NO bugs. When I try to run > the project, I keep encountering this problem. "Segmentation > fault" =3D =3D > I have no idea what this is? Does anyone know? > Can anyone shed some light on this matter? What I am doing > wrong? Do you think my serial path might be wrong? >=20 > I have to run my project like so: ./ABC something /dev/ttyS0 >=20 > ttyS0 or ttyS1 are desired serial paths. >=20 > Thanks. >=20 a successful compile !=3D no bugs -- you have a bug in your code that is causing the application to crash. w/o seeing the code, the only suggestion I can make is to run the app in a debugger reid |