Thread: Question concerning for loops

  1. #31
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by Programmer_P View Post
    Right. I realized that already, and corrected it too, to say <=9 (less than or equal to 9) rather than ==9 (equals 9).
    Ok, so I've been told three times already, and that's enough. I now know (thanks to y'all) that there only needs to be a NULL character at the end of character arrays, not integer arrays, which is what the one here was.
    for integer values, <= 9 is the same thing as < 10
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  2. #32
    Programming Ninja In-T...
    Join Date
    May 2009
    Posts
    827

    Talking

    Quote Originally Posted by ಠ_ಠ View Post
    for integer values, <= 9 is the same thing as < 10
    Ok, so maybe it should have been a <=8 than...
    You get my drift (I hope)!

  3. #33
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by Programmer_P View Post
    Ok, so maybe it should have been a <=8 than...
    You get my drift (I hope)!
    penis? otherwise, I'm not sure what you're trying to do
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  4. #34
    Programming Ninja In-T...
    Join Date
    May 2009
    Posts
    827

    Wink

    Its an expression (but NOT a programming expression).
    Figure of speech.
    Has nothing to do with a penis, or anything related.

  5. #35
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    It looks like abachler's penis
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  6. #36
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by ಠ_ಠ View Post
    It looks like a penis
    Only after you pointed it out. Sometimes ignorance is bliss...

    --
    Mats
    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.

  7. #37
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    I'm laughing myself out of my chair, but it's probably time to close this one...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM