Thread: Dumb question

  1. #16
    Registered User
    Join Date
    Jul 2005
    Posts
    5
    dragon2309 i found this book helpful for me - Practical C Programming 3rd edtion


    Im on nonpuz side... SlyMaelstrom you have no right getted mad at someone who was correcting you code... why do you even post code on a form with out testing it?
    Last edited by Massaker; 10-23-2005 at 02:43 AM.

  2. #17
    Registered User
    Join Date
    Oct 2005
    Posts
    7
    thnks massaker, i'll look into that. and i didnt mean to cause arguments hear, i just wanted some help, chill out peeps.

    Thanks for all your help, dragon2309

  3. #18
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Code:
    /* forgot return 0; ?? */ /* So did he. It still works. */
    main() is the only function that, if the return value is omitted, returns 0 by default.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #19
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Quote Originally Posted by dwks
    Code:
    /* forgot return 0; ?? */ /* So did he. It still works. */
    main() is the only function that, if the return value is omitted, returns 0 by default.
    If C99

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. dumb question
    By travis999 in forum C Programming
    Replies: 3
    Last Post: 10-26-2007, 12:57 AM
  2. very dumb question.
    By Blips in forum C++ Programming
    Replies: 14
    Last Post: 11-08-2005, 09:37 AM
  3. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  4. Sorry for a dumb question.
    By Vanished in forum C++ Programming
    Replies: 7
    Last Post: 11-23-2002, 12:39 PM
  5. another dumb question - loop not working?
    By Captain Penguin in forum C++ Programming
    Replies: 8
    Last Post: 10-06-2002, 10:15 PM