Solutions to some problems here: Just refreshing some cpp basics. http://www.cprogramming.com/challenge.html