Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get mac address from specical IP? Pin
Rulala22-Feb-06 23:14
Rulala22-Feb-06 23:14 
QuestionPC/SC in C++ Builder Pin
kittymew22-Feb-06 23:07
kittymew22-Feb-06 23:07 
Questionoperator () overloading. Pin
9ine22-Feb-06 23:00
9ine22-Feb-06 23:00 
AnswerRe: operator () overloading. Pin
Russell'22-Feb-06 23:22
Russell'22-Feb-06 23:22 
GeneralRe: operator () overloading. Pin
9ine23-Feb-06 1:55
9ine23-Feb-06 1:55 
AnswerRe: operator () overloading. Pin
toxcct22-Feb-06 23:22
toxcct22-Feb-06 23:22 
AnswerRe: operator () overloading. Pin
9ine23-Feb-06 1:03
9ine23-Feb-06 1:03 
GeneralRe: operator () overloading. Pin
9ine23-Feb-06 1:01
9ine23-Feb-06 1:01 
No, this is very important thing I'm trying to achieve.
I need to code for saving memory of loading large amount of ADC data.
This data can be of 8bit 16bit. Also I want to support not ADC data as floating numbers.
Due to the need of performing signal processing I want to be all the data converted to say double or long double to get more precision on arithmetic ops.
If we load ADC data which is 16bit quantized we convert it to double, same for 8bit data. And do some high presision calculation and plot results etc...
If our data sampled at 1000Hz 16bit for a 10hours we must allocate 36000*1000*sizeof(double) = 288Mb. But If we keep it as 16bit numbers converting to double and back at operator() which we need for saving also this will requier 36000*1000*sizeof(short) = 72Mb.
Great if this can be achieved with one class.

Another very good approach is to not load data from hdd at all keeping just FILE pointer, will slow than with memory, but reasonable if we got 2Gb of data that is it will go to swap file.



9ine
GeneralRe: operator () overloading. Pin
BadKarma23-Feb-06 3:44
BadKarma23-Feb-06 3:44 
GeneralRe: operator () overloading. Pin
9ine23-Feb-06 5:26
9ine23-Feb-06 5:26 
GeneralRe: operator () overloading. Pin
BadKarma23-Feb-06 8:29
BadKarma23-Feb-06 8:29 
QuestionCrystal Reports 11 with visual Studio .NET Pin
Irfan Shahid23-Feb-06 1:04
Irfan Shahid23-Feb-06 1:04 
QuestionRe: operator () overloading. Pin
David Crow23-Feb-06 3:41
David Crow23-Feb-06 3:41 
AnswerRe: operator () overloading. Pin
9ine23-Feb-06 5:18
9ine23-Feb-06 5:18 
GeneralRe: operator () overloading. Pin
David Crow23-Feb-06 5:45
David Crow23-Feb-06 5:45 
GeneralRe: operator () overloading. Pin
9ine23-Feb-06 22:59
9ine23-Feb-06 22:59 
GeneralRe: operator () overloading. Pin
David Crow24-Feb-06 2:42
David Crow24-Feb-06 2:42 
GeneralRe: operator () overloading. Pin
9ine24-Feb-06 3:00
9ine24-Feb-06 3:00 
QuestionRe: operator () overloading. Pin
David Crow24-Feb-06 3:08
David Crow24-Feb-06 3:08 
AnswerRe: operator () overloading. Pin
9ine25-Feb-06 1:08
9ine25-Feb-06 1:08 
GeneralRe: operator () overloading. Pin
jhwurmbach23-Feb-06 22:20
jhwurmbach23-Feb-06 22:20 
GeneralRe: operator () overloading. Pin
9ine23-Feb-06 22:53
9ine23-Feb-06 22:53 
GeneralRe: operator () overloading. Pin
jhwurmbach23-Feb-06 23:24
jhwurmbach23-Feb-06 23:24 
AnswerRe: operator () overloading. Pin
Wim Engberts23-Feb-06 5:47
Wim Engberts23-Feb-06 5:47 
JokeRe: operator () overloading. Pin
jhwurmbach23-Feb-06 22:21
jhwurmbach23-Feb-06 22:21 

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.