Wonderful? Wonderful?! How dare you call us a wonderful community you stuck-up complementary excuse for a dork! Just kidding. Thanks. :)
Jokes aside, if (given an array/vector/deque/list of values) you need to find a smallest value, what you can do is store the first value of your array in a variable which will hold your smallest value. Then, you can check each value in order and determine whether it is smaller or not than your variable, and if it is reassign your variable to that number (loop recommended).