Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 132,386 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,190 people online right now. Registration is fast and FREE... Join Now!




c programe

 
Reply to this topicStart new topic

c programe

sakshi05
post 31 Aug, 2008 - 09:16 AM
Post #1


New D.I.C Head

*
Joined: 31 Aug, 2008
Posts: 1

tell me the programme for finding a smallest number from the list of any numbers using for loop
User is offlineProfile CardPM

Go to the top of the page

wartech
post 31 Aug, 2008 - 09:38 AM
Post #2


D.I.C Head

Group Icon
Joined: 16 Oct, 2006
Posts: 100



Thanked 3 times
My Contributions


http://www.tenouk.com/Module7.html Check out sorting section.
User is offlineProfile CardPM

Go to the top of the page

mysea123
post 31 Aug, 2008 - 09:47 AM
Post #3


New D.I.C Head

*
Joined: 31 Aug, 2008
Posts: 1

Do you mean the container List of STL,if so,you can sort it by list.sort() method,then the first item in the list will be the min number
User is offlineProfile CardPM

Go to the top of the page

JackOfAllTrades
post 31 Aug, 2008 - 10:43 AM
Post #4


D.I.C Addict

Group Icon
Joined: 23 Aug, 2008
Posts: 502



Thanked 44 times

Dream Kudos: 25
My Contributions


QUOTE(sakshi05 @ 31 Aug, 2008 - 01:16 PM) *

tell me the programme for finding a smallest number from the list of any numbers using for loop


Tell us that you're not disregarding the rules of the forum and asking us to do your homework for you.
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/22/08 06:44AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month