Thread: please test my code!!!

  1. #1
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    segmentation fault

    please test my code!!!

    I am a long time redhat user and I need someone else running linux/GNU to compile and test a brief piece of code for me. I posted it this morning on the C programming board, and I've also posted it on comp.lang.c and comp.unix.programmer. Altho I got I number of helpful comments, formatting tips, et. al. no one actually addressed the question i actually asked or tested the script itself -- I would like to know if it produces the same (unexpected, unexplained) results i got and why YOU think that happened, since obviously the reason for the error is not apparent to those who just scanned it.

    Anyway the original post is

    please help!!
    Last edited by MK27; 07-09-2008 at 07:52 PM. Reason: punctuation

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Or get a small distro and try it out for yourself, it'd be about a 50mb download. Try Feather Linux, Puppy or Arch (I say Arch ) -- to name a few

    Not to mention if you had any other 'requests' in the future, you could run it for yourself. Rather than making demands.

    Or use Cygwin, (closer to Linux than Windows )
    Last edited by zacs7; 07-09-2008 at 07:30 PM.

  3. #3
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    segmentation fault
    There is a misunderstanding -- I AM USING LINUX, gcc 4.1.2 & 3.36, I just want to confirm that the problem i am having is not some form of file system corruption here -- in other words the code i wrote may work flawlessly for you.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    One thread is enough.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 03:17 PM
  2. test code
    By egomaster69 in forum C Programming
    Replies: 3
    Last Post: 12-20-2004, 06:04 PM
  3. Code to test if a tree is balanced
    By rahuls in forum C Programming
    Replies: 1
    Last Post: 03-20-2003, 01:41 PM
  4. Seems like correct code, but results are not right...
    By OmniMirror in forum C Programming
    Replies: 4
    Last Post: 02-13-2003, 12:33 PM
  5. Replies: 4
    Last Post: 01-15-2002, 11:04 PM
Website Security Test