View Full Version : Question on C programming.
Alexceptional
11-11-10, 15:21
Hopefully there is somemone on the forums who knows a bit of C.
I need a code that will find the minimum value in a string of 8 numerical values. Anyone know how?
Cheers.
for loop?
why don't you come up with somoething, then we'll suggest ways to improve on it.
For loop is definately the way to go about it. As above, I don't really want to do what I assume is your homework for you and post a solution, as you'll never learn otherwise :p
Lorem-Ipsum
11-11-10, 15:40
Oh come on. At least do some of the work yourself XD
must resist temptation to write "underhand c" :chuckle:
I don't mind giving you a hand if you post what you've done so far and how the string is formatted.
You may need these commands:
http://www.elook.org/programming/c/atoi.html
Alexceptional
14-11-10, 19:46
Lol I know I should work it out for myself, I was in "frustrated with C" mode when I posted this.
I've got it all working now so the thread can be closed. Cheers for the help offers anyways guys!
In other words you went to an actual programming forum and someone else did it for you...:P
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.