also > please let me know how can i put breakpoints in the program? under gdb, type "b myfile.cc:line#" to put a breakpoint at line#. you should get the "GDB QUICK REFERENCE". Do a search on the web with google.com or metacrawler.com -- Robin