Click here to Skip to main content
13,735,505 members

C / C++ / MFC

 
QuestionTo find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 5:44
memberTarun Jha13-Oct-17 5:44 
AnswerRe: To find biggest of n numbers ? Pin
jschell13-Oct-17 5:56
memberjschell13-Oct-17 5:56 
GeneralRe: To find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 6:02
memberTarun Jha13-Oct-17 6:02 
GeneralRe: To find biggest of n numbers ? Pin
jschell15-Oct-17 7:11
memberjschell15-Oct-17 7:11 
AnswerRe: To find biggest of n numbers ? Pin
Richard MacCutchan13-Oct-17 6:16
protectorRichard MacCutchan13-Oct-17 6:16 
GeneralRe: To find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 6:22
memberTarun Jha13-Oct-17 6:22 
GeneralRe: To find biggest of n numbers ? Pin
jeron113-Oct-17 6:34
memberjeron113-Oct-17 6:34 
GeneralRe: To find biggest of n numbers ? Pin
Richard MacCutchan13-Oct-17 6:51
protectorRichard MacCutchan13-Oct-17 6:51 
Tarun Jha wrote:
what is wrong with the one i am working with.
Your second loop makes no sense as you are using two index varaibles when you only need one, and you never compare the values to see which is largest, or keep a note of the largest value you have found so far.
GeneralRe: To find biggest of n numbers ? Pin
Tarun Jha13-Oct-17 7:14
memberTarun Jha13-Oct-17 7:14 
GeneralRe: To find biggest of n numbers ? Pin
David Crow13-Oct-17 16:10
memberDavid Crow13-Oct-17 16:10 
GeneralRe: To find biggest of n numbers ? Pin
Richard MacCutchan13-Oct-17 22:33
protectorRichard MacCutchan13-Oct-17 22:33 
AnswerRe: To find biggest of n numbers ? Pin
leon de boer13-Oct-17 6:50
memberleon de boer13-Oct-17 6:50 
Questionwhile error ? Pin
bluatigro12-Oct-17 0:23
memberbluatigro12-Oct-17 0:23 
QuestionRe: while error ? Pin
David Crow12-Oct-17 2:35
memberDavid Crow12-Oct-17 2:35 
AnswerRe: while error ? Pin
Manish K. Agarwal12-Oct-17 4:22
memberManish K. Agarwal12-Oct-17 4:22 
AnswerRe: while error ? Pin
Manish K. Agarwal12-Oct-17 4:26
memberManish K. Agarwal12-Oct-17 4:26 
QuestionWhere is GetTickCount64()? Pin
inlandchris11-Oct-17 11:10
memberinlandchris11-Oct-17 11:10 
AnswerRe: Where is GetTickCount64()? Pin
Randor 11-Oct-17 11:52
professional Randor 11-Oct-17 11:52 
GeneralRe: Where is GetTickCount64()? Pin
inlandchris11-Oct-17 17:24
memberinlandchris11-Oct-17 17:24 
GeneralRe: Where is GetTickCount64()? Pin
Randor 11-Oct-17 19:26
professional Randor 11-Oct-17 19:26 
AnswerRe: Where is GetTickCount64()? Pin
leon de boer11-Oct-17 15:29
memberleon de boer11-Oct-17 15:29 
GeneralRe: Where is GetTickCount64()? Pin
inlandchris11-Oct-17 17:27
memberinlandchris11-Oct-17 17:27 
GeneralRe: Where is GetTickCount64()? Pin
Richard MacCutchan11-Oct-17 21:23
protectorRichard MacCutchan11-Oct-17 21:23 
AnswerRe: Where is GetTickCount64()? Pin
inlandchris12-Oct-17 2:09
memberinlandchris12-Oct-17 2:09 
GeneralRe: Where is GetTickCount64()? Pin
leon de boer11-Oct-17 22:14
memberleon de boer11-Oct-17 22:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.180920.1 | Last Updated 18 Oct 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid