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

C / C++ / MFC

 
GeneralRe: how to Ensure my program works across platforms? Pin
Toby Opferman10-Jul-05 16:55
Toby Opferman10-Jul-05 16:55 
GeneralPrint Files via DOS-Prompt Pin
Balaji Krishna8-Jul-05 23:18
Balaji Krishna8-Jul-05 23:18 
GeneralRe: Print Files via DOS-Prompt Pin
Roger Wright9-Jul-05 6:07
professionalRoger Wright9-Jul-05 6:07 
GeneralRe: Print Files via DOS-Prompt Pin
Ravi Bhavnani9-Jul-05 6:58
professionalRavi Bhavnani9-Jul-05 6:58 
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 
Okay, I don’t get it. Perhaps someone can help me out a little. I set up a client / server over Winsock no problems. But once a client receives the data from the server what’s the best way of storing that information for later use?

Here is an example of the type of data I'm receiving at the client end

WorkOrder | Date | SiteNumber | SiteContact | SitePhone | Device | Summary | Comments
00001 | 07/09/05 | 0001 | Joe | 111-111-1111 | 1 | Test | Test
00002 | 07/10/05 | 0001 | Jane | 111-111-1111 | 0 | Test2 | Test2
Etc

The number of rows is variable (depending on how many service calls exist). I started using a simple pointer to a struct. But that “feels” messy, is there a better way? I know there are several different types of single dimension arrays in C++, but I have yet to find a multi-dimensional array.

Any pointers anyone? Hope My post was clear. Thank you for you time and consideration.


-------------------------------

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 
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 

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.