Thread: Looping through a list infinitely

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Registered User
    Join Date
    Dec 2007
    Posts
    932
    Yes, that's a simpler solution than mine.

    With only the modulus operator you replaced half of my code

    Thank you Salem.
    Last edited by Ducky; 01-02-2023 at 10:43 AM.
    Using Windows 10 with Code Blocks and MingW.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why does this line of code loop infinitely?
    By C-UL8R in forum C Programming
    Replies: 1
    Last Post: 10-12-2020, 02:33 PM
  2. Loop is running infinitely.please help...
    By V8cTor in forum C++ Programming
    Replies: 2
    Last Post: 08-07-2014, 01:38 AM
  3. case, menu system, loops infinitely on invalid input
    By ModeSix in forum C Programming
    Replies: 12
    Last Post: 05-08-2011, 04:12 PM
  4. Infinitely looping inclusion!
    By kidburla in forum C++ Programming
    Replies: 3
    Last Post: 11-29-2005, 07:40 PM
  5. is there an infinitely large integer type?
    By MKashlev in forum C++ Programming
    Replies: 7
    Last Post: 08-10-2002, 02:31 PM

Tags for this Thread