Thread: What was wrong with this code??

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Noone is going to debug your program for you. It's about time you learn some debugging techniques.

    You can easily debug your own program by simply adding some printf statements, while flusing the output stream after each one. If furthermore, you can make it (buzzword alert) "interactive" with the addition of a getchar call after each.

    You could always step through it on paper...

    You could learn how to use something like GDB...

    You could...

    Well, you get the idea.

    Quzah.
    Hope is the first step on the road to disappointment.

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    49
    If every helper is like you, no one will ask question in a forum....
    diana --> programming is tough

  3. #3
    Registered User
    Join Date
    Oct 2004
    Posts
    49
    Sorry i wasn't meant to be rude or what, but i feel that if every helper here is like you, no one will ask questions or ask for help in a forum.... Because all they get fort he reply will be, you should have learn everything by yourself or you can buy a book...
    diana --> programming is tough

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. what is wrong in this simple code
    By vikingcarioca in forum C Programming
    Replies: 4
    Last Post: 04-23-2009, 07:10 AM
  2. what is wrong with this code please
    By korbitz in forum Windows Programming
    Replies: 3
    Last Post: 03-05-2004, 10:11 AM
  3. I cant find what is wrong with this code
    By senegene in forum C Programming
    Replies: 1
    Last Post: 11-12-2002, 06:32 PM
  4. Anyone see what is wrong with this code?
    By Wise1 in forum C Programming
    Replies: 2
    Last Post: 02-13-2002, 02:01 PM
  5. very simple code, please check to see whats wrong
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 10-10-2001, 12:51 AM