cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
Segmentation Fault (core dumped)
Segmentation Fault (core dumped)
Oct 10, 2013 at 8:05pm UTC
ADTR2012
(93)
When I compile my program using my Makefile I get a segmentation fault. I checked through my code and it looks correct so maybe it's something else I did wrong? My error message is this:
-bash-4.1$ make tests
./test_default_ctor
Done testing default constructor.
./test_c_str_ctor
Done testing constructors.
./test_add
make: *** [tests] Segmentation fault (core dumped)
What does this mean? I am very new to Unix.
Oct 10, 2013 at 8:09pm UTC
kbw
(9488)
It means your program test_add is crashing.
Oct 10, 2013 at 8:55pm UTC
ADTR2012
(93)
Ok thank you!
Topic archived. No new replies allowed.