Ahmed Shabana wrote: > On Sun, Jan 18, 2009 at 3:59 PM, Ahmed Shabana <[email protected]> wrote: >> okay I really try to turn up my warning level using those >> >> $ gcc -g -Wall programName.c >> >> and also >> $ gcc -g -Wextra programName.c >> >> and it does not make any more sense the compilation process complete >> without any wornning >> > > Sorry I remember to inform you that I can not make good use of gdb to > debug my codes > > if it can help me to solve this program plz tell me how ??
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html -Wuninitialized (Enabled by both -Wall and -Wextra) So something screwy is wrong with your compiler. While you can use gdb from the command-line, debuggers tend to be easier to use from a GUI (easier to set and manage breakpoints, step through code, etc). KDevelop is something to look into. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
