Termination condition on for loop

Hi everyone,
I have a for loop inside of a main function for a program I am trying to write. The for loop exhibits normal behavior and does what I wanted to, however instead of exiting the loop and moving on to the rest of the code, it initiates an exit -1 condition and terminates the program. Does anyone have any idea how to fix this? I am using eclipse IDE and I used the libraries and default includes for a helloworld default program.

Thanks for taking the time to read :)
-Victor
code helps. eclipse is a great IDE so i do not think that would be the problem. but i need to see the code.

victorcpp wrote:
I used the libraries and default includes for a helloworld default program.
there are ALOT of libraries...
Last edited on
Topic archived. No new replies allowed.