Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDragListBox Pin
Lucky200210-Jul-02 9:00
Lucky200210-Jul-02 9:00 
GeneralRe: CDragListBox Pin
Joaquín M López Muñoz10-Jul-02 12:28
Joaquín M López Muñoz10-Jul-02 12:28 
GeneralRe: CDragListBox Pin
Lucky200210-Jul-02 13:30
Lucky200210-Jul-02 13:30 
GeneralRe: CDragListBox Pin
Joaquín M López Muñoz10-Jul-02 19:59
Joaquín M López Muñoz10-Jul-02 19:59 
GeneralRe: CDragListBox Pin
Lucky200210-Jul-02 21:06
Lucky200210-Jul-02 21:06 
GeneralRe: CDragListBox Pin
Joaquín M López Muñoz11-Jul-02 8:42
Joaquín M López Muñoz11-Jul-02 8:42 
GeneralRe: CDragListBox Pin
Lucky200211-Jul-02 23:55
Lucky200211-Jul-02 23:55 
QuestionComments on Dynamic multidimensional CString Array??? Pin
Nitron10-Jul-02 6:11
Nitron10-Jul-02 6:11 
Ok, so I'm developing a post-processing data reduction and visualization program. I have all my graph controls and UI together with custom vector templates for the control's data and all that fun stuff. But my weak point is file IO and storing the data read from the files. The files are csv and don't necessarilly contain doubles for data. Some may be hex denoted by "0xABCD1234", or may even be an enumeration. So streaming the file into my vector templates was shady. So I created a class that has the following member (among others):

#define MAX_VARS 200
#define MAX_SAMP 75000

CString m_DataArray[MAX_SAMP][MAX_VARS];

I then allocate a 'new' CSV class and put one of these things on the heap. The good news is that the data is global for all my numerical analysis tools and functions and I can manipulate it fast. The bad news is that I rarely have 200 vars and 75000 samps, so mass memory is very wasted! Even worse, when I'm under the gun to outperform Excel or PV-Wave, I may have up to .25 Million samples or more (Excel dies @ 65536 / PV-wave can't do more than 2048 chars per line)!! I tried ohter CSV classes to access row,col but with many samples the process is slow.

Anyway, I'm just probing for alternatives. I tried CStringArray but got lost because all my routines operate on 2d arrays (row,col). Any comments or advise is certainly appreciated in advance.

Thanks All.


Nitron
_________________________________________--
message sent on 100% recycled electrons.
AnswerRe: Comments on Dynamic multidimensional CString Array??? Pin
Joaquín M López Muñoz10-Jul-02 8:17
Joaquín M López Muñoz10-Jul-02 8:17 
GeneralUrgent help needed !!! Pin
bisserke10-Jul-02 5:30
bisserke10-Jul-02 5:30 
QuestionStack problem? Pin
innomino10-Jul-02 5:03
innomino10-Jul-02 5:03 
AnswerRe: Stack problem? Pin
Rage10-Jul-02 5:20
professionalRage10-Jul-02 5:20 
AnswerRe: Stack problem? Pin
Rage10-Jul-02 5:28
professionalRage10-Jul-02 5:28 
GeneralActiveX Help Pin
Anonymous10-Jul-02 4:48
Anonymous10-Jul-02 4:48 
GeneralGot It! Pin
Anonymous10-Jul-02 6:32
Anonymous10-Jul-02 6:32 
GeneralDatabase Problem Pin
BHBAD10-Jul-02 4:24
sussBHBAD10-Jul-02 4:24 
GeneralRe: Database Problem Pin
Martin Ziacek10-Jul-02 4:31
Martin Ziacek10-Jul-02 4:31 
GeneralRe: Database Problem Pin
BHBAD10-Jul-02 4:36
sussBHBAD10-Jul-02 4:36 
GeneralRe: Database Problem Pin
Martin Ziacek10-Jul-02 4:44
Martin Ziacek10-Jul-02 4:44 
GeneralRe: Database Problem Pin
Mike Nordell11-Jul-02 1:40
Mike Nordell11-Jul-02 1:40 
GeneralRe: Database Problem Pin
Martin Ziacek11-Jul-02 8:18
Martin Ziacek11-Jul-02 8:18 
GeneralRe: Database Problem Pin
Christian Graus10-Jul-02 4:36
protectorChristian Graus10-Jul-02 4:36 
GeneralRe: Database Problem Pin
BHBAD10-Jul-02 4:39
sussBHBAD10-Jul-02 4:39 
GeneralRe: Database Problem Pin
Carlos Antollini10-Jul-02 4:57
Carlos Antollini10-Jul-02 4:57 
GeneralRe: Database Problem Pin
Michael P Butler10-Jul-02 4:38
Michael P Butler10-Jul-02 4:38 

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.