Computing.Net > Forums > Programming > Exit for loop with arrays in C?!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Exit for loop with arrays in C?!

Reply to Message Icon

Name: Dado
Date: November 24, 2003 at 22:12:15 Pacific
OS: Me
CPU/Ram: 512MB
Comment:

In C, how can u read values into an array (ex. array[row][col]) and exit from the for loop right after the user types 0 in the 1st column of any row? Can someone give me some sample code because I tried some methods, but they did not work particularly with arrays. Help appreciated!



Sponsored Link
Ads by Google

Response Number 1
Name: borelli35
Date: November 25, 2003 at 13:36:06 Pacific
Reply:

Please post at least one or two of your efforts first and we will try to help you identify where the problem lies.

borelli35


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Exit for loop with arrays in C?!

FOR loops & Character Display in C www.computing.net/answers/programming/for-loops-amp-character-display-in-c/8438.html

Dynamic Arrays in C www.computing.net/answers/programming/dynamic-arrays-in-c/3396.html

How to use string array in C++? www.computing.net/answers/programming/how-to-use-string-array-in-c/9478.html