Thread: C++ Sorting
View Single Post
  #1  
Old 09-29-2010, 10:50 PM
C++ C++ is offline
Senior Member
 
Join Date: Jun 2009
Posts: 18,248
Default C++ Sorting

If I have 4 person. How do I create a function that can determine the oldest person below? Person p1("JAck","Spice","48); Person p2("Burn","Side",53); Person p3("Leppy","Doopy",20); Person p4("Jimmy", "Dean", 32); I need someone to help me explain how "for" loops work.
__________________
C++
domain name forum
Reply With Quote