|
From: | John Ward |
Subject: | The init.c problem puzzled me for a while, however you are missing one simple ingredient Ensure you have ddd installed correctly, i.e. when you type ddd on it's own ddd runs. Then simply compile you C++ program using g++ with the -g flag, i.e.: g++ -g -o main main.init.c Solution |
Date: | Thu, 11 Oct 2001 18:47:17 +0100 |
Ensure you have ddd installed correctly, i.e. when you type ddd on it's own ddd runs. Then simply compile you C++ program using g++ with the -g (debug) flag, i.e.:
$ g++ -g -o main main.cc
then enter:
$ ddd main
This should work...
init.c is the function which runs your program, i.e. it calls main() (presumably when your using debug information), this is contained within the g++ (or c++) libraries.
Regards
John
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ John Ward E-Mail: address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |