Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

please help me with templates

Status
Not open for further replies.

chrstinak4u

Programmer
Aug 8, 2001
1
US
i need to crate a STL that will include templates for the following:
-bubble sort
-quick sort
-finds the largest number
-finds the smallest number
-comutes the average of an array
-finds the array element that is closest to the average for the array's values
-finds the average for an array
-squares a number
-cubes a number
-performs binary search using recursion
-performs summation using an ending value and an increment recursively
 
can you give one short example on what you want convert to template or to using STL? John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top