Thread: Money Counter Program

  1. #16
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    United States
    Let me try putting it this way. If I accidently forgot to space one side of an assignment, would you call that a "different style"? Or am I imitating the teacher? I think you're focusing too hard on minute detail.

  2. #17
    Join Date
    Oct 2007
    Inside my computer
    Well, no.
    I mostly react to the placement of * and &.
    That, and indentation.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #18
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    But hang on a bit. The mix of & and * is because they have different meanings. The latter is used to pass an array of six elements - yes, we could declare the function differently to do that, but it's still not a replacement to use a reference [of course, we could have a reference to an array].

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I pay (money) for a program
    By Mszx in forum Projects and Job Recruitment
    Replies: 6
    Last Post: 01-08-2007, 01:22 PM
  2. Help: Program to calc space and money for apartments
    By MightyM991 in forum C Programming
    Replies: 4
    Last Post: 09-22-2005, 09:11 AM
  3. Replies: 2
    Last Post: 10-23-2004, 03:46 AM
  4. I need some help with my program please.
    By agentxx04 in forum C Programming
    Replies: 9
    Last Post: 09-26-2004, 07:51 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM