What is wrong with this code - please help

This is a discussion on What is wrong with this code - please help within the C Programming forums, part of the General Programming Boards category; Fixed...

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    104

    What is wrong with this code - please help

    Fixed
    Last edited by ICool; 09-24-2007 at 12:31 AM.

  2. #2
    Registered User
    Join Date
    Sep 2007
    Posts
    104
    It says undefined ISO and p yet I defined them both ? I'm sorry I'm posting so much code but I have very little time left to hand this program in , so if you can help I would appreciate it a lot. Thanks guys

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    835
    If you fix your indentation it will be obvious why ISO is not in scope, plus you never defined p.

  4. #4
    Registered User
    Join Date
    Sep 2007
    Posts
    104
    *p = 0 is not defining it ?
    Should I retype everything into gvim to fix indentation ? Thanks for your help

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,821
    Please don't delete your post just because you think it's been fixed.
    It removes the possibility for others to learn, and perhaps spot additional mistakes.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #6
    Registered User
    Join Date
    Sep 2007
    Posts
    104
    Sorry Salem , point taken

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, 08: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, 01:51 AM

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