testing programs

This is a discussion on testing programs within the C Programming forums, part of the General Programming Boards category; I've noticed that some people post huge programs that don't work. Isn't it normal to test the parts of a ...

  1. #1
    Unregistered
    Guest

    testing programs

    I've noticed that some people post huge programs that don't work. Isn't it normal to test the parts of a program as you add them in.

  2. #2
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    > I've noticed that some people post huge programs that don't work.
    Nice work detective. Brilliance.

    That's why they post for help.
    The world is waiting. I must leave you now.

  3. #3
    Unregistered
    Guest
    Shadow, you sure are a misfit! What I mean is if you write a huge program, and don't test any of the parts, the chance of it working isn't very good, is it? Is that the recommended way to do it? It seems to be common.

  4. #4
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    > Is that the recommended way to do it?

    Sure, why not.

    > Shadow, you sure are a misfit!

    I don't sit around and make friends with Unregistered's, that's for sure.
    The world is waiting. I must leave you now.

  5. #5
    Unregistered
    Guest
    If I wrote a huge program, without testing the parts, I'd have errors on top of errors, and probably never get it working.

    I don't understand why you guys dislike Unregistereds. Hardly anyone here uses their real name, so we're all anonymous. The real reason anyone registers is to show off their skills.

  6. #6
    Other Unregistered
    Guest
    I've noticed that some people post huge programs that don't work.
    I agree that some people seem to have problems with cut and paste. Perhaps this board should have a tutorial "How to cut and paste". It often happens that programs aren't compilable at all, even though the person who is posting it, is talking about "the program doesn't work".

  7. #7
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    I agree that some people seem to have problems with cut and paste. Perhaps this board should have a tutorial "How to cut and paste". It often happens that programs aren't compilable at all, even though the person who is posting it, is talking about "the program doesn't work".
    What!?
    Once again sherlock holmes....that's what this board is for.

    I've posted many a programs that I couldn't even get to compile - AND I WAS WONDERING WHY.

    > If I wrote a huge program ... and never get it working.
    That would only happen if the code was wrong. Make sure it's right.

    > I don't understand why you guys dislike Unregistereds.
    I don't speak for anyone else. If you post a stupid question you'll get a stupid answer.

    > The real reason anyone registers is to show off their skills.
    Wrong.

    If you write a huge program, and it doesn't work, the code is wrong. Make it right. Ask how to make it right if you don't know how.

    No code. No real programming questions like, "function X doesn't work!".
    This belongs in the general discussions board.
    The world is waiting. I must leave you now.

  8. #8
    Unregistered
    Guest
    >The real reason anyone registers is to show off their skills.

    Take Quzah for example:
    He sounds awful programmed to me, but on this board he's God (shouldn't that be Allah?), at least that's what his posts say.

  9. #9
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    > Take Quzah for example:
    Ok.

    Quzah is a very smart individual who has lots of knowledge of programming. He tries to guide you in the right direction so you may learn things the correct way. When quzah spots a problem in your code, change it. He knows what he's talking about. When quzah replies with confidence, I actually like that because it's reasuring that he can correctly answer my question.

    Quzah is truly a gifted individual.
    The world is waiting. I must leave you now.

  10. #10
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    Praise to Quzah!
    No but seriously, those who have the skill, answer the questions. Those who require guidance ask. Those who think they can give direction but never ask for help are the true newbies.
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  11. #11
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >> If I wrote a huge program ... and never get it working.
    >That would only happen if the code was wrong. Make sure it's right.

    I must say, this makes no sense to me.

  12. #12
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Originally posted by Unregistered
    >The real reason anyone registers is to show off their skills.

    Take Quzah for example:
    He sounds awful programmed to me, but on this board he's God (shouldn't that be Allah?), at least that's what his posts say.
    1) What exactly is "sounds awful programmed"?
    2) The title 'God' is not something I specified.
    3) A name is just a name. Quzah is a name I picked. It has nothing to do with my race or religion or any other significance.

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

  13. #13
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    >> If I wrote a huge program ... and never get it working.
    >That would only happen if the code was wrong. Make sure it's right.

    I must say, this makes no sense to me.
    Why?
    The world is waiting. I must leave you now.

  14. #14
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Originally posted by Unregistered
    The real reason anyone registers is to show off their skills.
    Actually the reason I registered is so I can go back and edit my post for things like typos, since I have always signed my posts anyway.

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

  15. #15
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >Make sure it's right

    If you have written a huge program, how did you make sure it was right? If you have never written a huge program, then ignore this question.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 06:32 AM
  2. Reroute where programs write to
    By willc0de4food in forum C Programming
    Replies: 7
    Last Post: 09-21-2005, 04:48 PM
  3. C++ bit testing
    By Vicious in forum C++ Programming
    Replies: 3
    Last Post: 09-19-2004, 11:44 AM
  4. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 04:42 AM
  5. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 03:12 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21