Like Tree1Likes

Basic Loop

This is a discussion on Basic Loop within the C Programming forums, part of the General Programming Boards category; BTW: Thanks to everyone who continued to monkey with this and try for fixes. Thanks a ton! -DCMQ Happy coding!...

  1. #16
    Registered User
    Join Date
    Jan 2011
    Posts
    55
    BTW: Thanks to everyone who continued to monkey with this and try for fixes. Thanks a ton!

    -DCMQ

    Happy coding!

  2. #17
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,442
    Heh, sounds like some kind of IDE or compiler problem where the build was not happening correctly, then by inducing a compile error, you somehow managed to fix the build. Weird, but whatever works, I guess.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #18
    language hopper dennis.cpp's Avatar
    Join Date
    Jan 2011
    Location
    Herborn, Hesse, Germany
    Posts
    197
    Sample execution here:

    [dennis@marx ~]$ gcc -o test test.c
    [dennis@marx ~]$ ./test
    Enter a number: 45
    Enter a number: 72
    Enter a number: 1
    The number is 1
    AWESOME[dennis@marx ~]$

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 23
    Last Post: 04-05-2011, 03:40 PM
  2. using for loop and functions to create a basic menu
    By sunandstars in forum C Programming
    Replies: 2
    Last Post: 02-19-2011, 01:12 PM
  3. The Infinit loop that doesn't loop.
    By errigour in forum C Programming
    Replies: 1
    Last Post: 11-09-2010, 10:31 AM
  4. Basic Loop Question
    By demiurge in forum C++ Programming
    Replies: 1
    Last Post: 12-02-2009, 08:10 AM
  5. for loop ignoring scanf inside loop
    By xIcyx in forum C Programming
    Replies: 2
    Last Post: 04-17-2007, 01:46 AM

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