Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMonitor The Folder Pin
Balaji Krishna8-Jul-05 19:39
Balaji Krishna8-Jul-05 19:39 
GeneralRe: Monitor The Folder Pin
ThatsAlok8-Jul-05 20:07
ThatsAlok8-Jul-05 20:07 
GeneralRe: Monitor The Folder Pin
David Crow9-Jul-05 10:23
David Crow9-Jul-05 10:23 
QuestionData Storage? Pin
S Douglas8-Jul-05 19:34
professionalS Douglas8-Jul-05 19:34 
AnswerRe: Data Storage? Pin
ThatsAlok8-Jul-05 20:54
ThatsAlok8-Jul-05 20:54 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 21:30
professionalS Douglas8-Jul-05 21:30 
GeneralRe: Data Storage? Pin
S. Senthil Kumar8-Jul-05 21:35
S. Senthil Kumar8-Jul-05 21:35 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:09
professionalS Douglas8-Jul-05 22:09 
Sorry if I'm being a little dense here but still not clear. I understand that Arrays, Vectors, Linked Lists are all good for housing data. The thing I need is multiple columns.

If I may be so bold to speculate but to do what I need would I create a class to wrap together the collections and access the data via member functions? Or is there a pre written object?

Your example was hidden.
So could I do something as simple as?

(Sorry pseudo code here, I'm not anywhere near my developing environment)
<br />
struct WORKORDER <br />
{<br />
int WorkOrder; <br />
CString Date;<br />
Cstring SiteNumber;<br />
Cstring SiteContact;<br />
...<br />
} <br />
<br />
vector <WORKORDER> v;<br />

Referencing the data members like so
Int iWo = V[0].WorkOrder


I'm not opposed to doing a little work. I just don’t want to do work that’s well incorrect. Thanks for the help.


-------------------------------
GeneralRe: Data Storage? Pin
S. Senthil Kumar8-Jul-05 22:16
S. Senthil Kumar8-Jul-05 22:16 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:23
professionalS Douglas8-Jul-05 22:23 
GeneralRe: Data Storage? Pin
Cedric Moonen8-Jul-05 22:19
Cedric Moonen8-Jul-05 22:19 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:27
professionalS Douglas8-Jul-05 22:27 
GeneralRe: Data Storage? Pin
ThatsAlok8-Jul-05 22:42
ThatsAlok8-Jul-05 22:42 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:49
professionalS Douglas8-Jul-05 22:49 
GeneralRe: Data Storage? Pin
S Douglas9-Jul-05 20:38
professionalS Douglas9-Jul-05 20:38 
AnswerRe: Data Storage? Pin
John R. Shaw8-Jul-05 22:03
John R. Shaw8-Jul-05 22:03 
GeneralRe: Data Storage? Pin
S Douglas8-Jul-05 22:22
professionalS Douglas8-Jul-05 22:22 
AnswerRe: Data Storage? Pin
Ravi Bhavnani9-Jul-05 7:00
professionalRavi Bhavnani9-Jul-05 7:00 
GeneralRe: Data Storage? Pin
S Douglas9-Jul-05 18:04
professionalS Douglas9-Jul-05 18:04 
Generalstrange error in vc Pin
wrb3028-Jul-05 19:03
wrb3028-Jul-05 19:03 
GeneralRe: strange error in vc Pin
Jack Puppy8-Jul-05 20:11
Jack Puppy8-Jul-05 20:11 
GeneralRe: strange error in vc Pin
wrb3029-Jul-05 21:06
wrb3029-Jul-05 21:06 
GeneralRe: strange error in vc Pin
John R. Shaw8-Jul-05 20:57
John R. Shaw8-Jul-05 20:57 
Generalvisual c++ custom controls. Pin
rich1358-Jul-05 15:29
rich1358-Jul-05 15:29 
GeneralRe: visual c++ custom controls. Pin
John R. Shaw8-Jul-05 16:30
John R. Shaw8-Jul-05 16:30 

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.