Click here to Skip to main content
15,914,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: can't open lib file Pin
gentleguy10-Feb-08 17:49
gentleguy10-Feb-08 17:49 
GeneralRe: can't open lib file Pin
Stephen Hewitt10-Feb-08 17:51
Stephen Hewitt10-Feb-08 17:51 
GeneralRe: can't open lib file Pin
gentleguy10-Feb-08 19:33
gentleguy10-Feb-08 19:33 
GeneralRe: can't open lib file Pin
Stephen Hewitt10-Feb-08 19:54
Stephen Hewitt10-Feb-08 19:54 
GeneralRe: can't open lib file Pin
gentleguy10-Feb-08 20:06
gentleguy10-Feb-08 20:06 
GeneralRe: can't open lib file [modified] Pin
Stephen Hewitt10-Feb-08 20:10
Stephen Hewitt10-Feb-08 20:10 
GeneralRe: can't open lib file Pin
gentleguy10-Feb-08 20:32
gentleguy10-Feb-08 20:32 
GeneralStore int values in descending order Pin
CodingLover10-Feb-08 15:34
CodingLover10-Feb-08 15:34 
Hi all,

I have calculated an int value using one of function in my application. Every 10 seconds interval this value is calculated. I want to add those vale in a buffer, in descending order.

Like this,

if the 1st value is 12 : buffer is 12
if the 2nd value is 17 : buffer is 17, 12
if the 3rd value is 9 : buffer is 17, 12, 9
.....
....

I thin it is clear now for you.

What is the most easiest way to do this. I've try to check the each value of the bufferbefore adding the new value. But if there is large number of values, it seems take more time.

I appreciate your help all the time...
Eranga Smile | :)

GeneralRe: Store int values in descending order Pin
David Crow11-Feb-08 3:22
David Crow11-Feb-08 3:22 
GeneralRe: Store int values in descending order Pin
CodingLover11-Feb-08 15:39
CodingLover11-Feb-08 15:39 
GeneralError transferring a CString to LPTSTR Pin
Larry Mills Sr10-Feb-08 11:27
Larry Mills Sr10-Feb-08 11:27 
GeneralRe: Error transferring a CString to LPTSTR Pin
Mark Salsbery10-Feb-08 12:01
Mark Salsbery10-Feb-08 12:01 
GeneralRe: Error transferring a CString to LPTSTR Pin
Larry Mills Sr11-Feb-08 3:18
Larry Mills Sr11-Feb-08 3:18 
QuestionRe: Error transferring a CString to LPTSTR Pin
David Crow11-Feb-08 3:26
David Crow11-Feb-08 3:26 
GeneralRe: Error transferring a CString to LPTSTR Pin
Larry Mills Sr13-Feb-08 3:03
Larry Mills Sr13-Feb-08 3:03 
GeneralShutting down or closing the COM port if no data received from device. Pin
jonsey2984710-Feb-08 10:35
jonsey2984710-Feb-08 10:35 
GeneralRe: Shutting down or closing the COM port if no data received from device. Pin
Mark Salsbery10-Feb-08 12:08
Mark Salsbery10-Feb-08 12:08 
GeneralRe: Shutting down or closing the COM port if no data received from device. Pin
jonsey2984710-Feb-08 21:04
jonsey2984710-Feb-08 21:04 
GeneralRe: Shutting down or closing the COM port if no data received from device. Pin
jonsey2984711-Feb-08 4:11
jonsey2984711-Feb-08 4:11 
GeneralRe: Shutting down or closing the COM port if no data received from device. Pin
Mark Salsbery11-Feb-08 5:49
Mark Salsbery11-Feb-08 5:49 
GeneralRe: Shutting down or closing the COM port if no data received from device. Pin
jonsey2984711-Feb-08 6:10
jonsey2984711-Feb-08 6:10 
GeneralAccessing a running instance of a program Pin
rbrunton10-Feb-08 8:06
rbrunton10-Feb-08 8:06 
GeneralRe: Accessing a running instance of a program Pin
Mark Salsbery10-Feb-08 9:25
Mark Salsbery10-Feb-08 9:25 
GeneralSDI App with a modeless dialog - plz Help Pin
Member 44313710-Feb-08 7:10
Member 44313710-Feb-08 7:10 
Questionhow search engine works Pin
Petra10-Feb-08 6:37
Petra10-Feb-08 6:37 

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.