Click here to Skip to main content
15,898,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAbout OOP thread programming Pin
stans8030-Dec-04 15:32
stans8030-Dec-04 15:32 
Questiontemplate friend operator function ? Pin
anycallmy30-Dec-04 15:15
anycallmy30-Dec-04 15:15 
AnswerRe: template friend operator function ? Pin
toxcct31-Dec-04 4:43
toxcct31-Dec-04 4:43 
GeneralRe: template friend operator function ? Pin
anycallmy3-Jan-05 19:31
anycallmy3-Jan-05 19:31 
Generalevent driven programming Pin
monageasmear30-Dec-04 14:56
monageasmear30-Dec-04 14:56 
GeneralRe: event driven programming Pin
Selvam R30-Dec-04 21:33
professionalSelvam R30-Dec-04 21:33 
GeneralAlternative for ellipses(...) Pin
Anonymous30-Dec-04 13:05
Anonymous30-Dec-04 13:05 
GeneralRe: Alternative for ellipses(...) Pin
Michael Dunn30-Dec-04 14:08
sitebuilderMichael Dunn30-Dec-04 14:08 
GeneralRe: Alternative for ellipses(...) Pin
Anonymous30-Dec-04 14:28
Anonymous30-Dec-04 14:28 
AnswerRe: Alternative for ellipses(...) Pin
kbsbng8-Feb-07 18:35
kbsbng8-Feb-07 18:35 
QuestionHow to print/preview multiple pages Pin
AiKnight30-Dec-04 12:57
AiKnight30-Dec-04 12:57 
AnswerRe: How to print/preview multiple pages Pin
PJ Arends30-Dec-04 20:34
professionalPJ Arends30-Dec-04 20:34 
QuestionDocking Windows...How? Pin
Gurra_Koo30-Dec-04 12:53
Gurra_Koo30-Dec-04 12:53 
AnswerRe: Docking Windows...How? Pin
Selvam R30-Dec-04 21:38
professionalSelvam R30-Dec-04 21:38 
GeneralSubclassing Dialogs Pin
Mike Zinni30-Dec-04 10:41
Mike Zinni30-Dec-04 10:41 
GeneralRe: Subclassing Dialogs Pin
Michael Bergman30-Dec-04 11:57
Michael Bergman30-Dec-04 11:57 
GeneralRe: Subclassing Dialogs Pin
PJ Arends30-Dec-04 12:10
professionalPJ Arends30-Dec-04 12:10 
GeneralDirectx problems Pin
samet karadağ30-Dec-04 10:36
samet karadağ30-Dec-04 10:36 
Generalthread programming Pin
tacvbo30-Dec-04 10:06
tacvbo30-Dec-04 10:06 
GeneralRe: thread programming Pin
ThatsAlok30-Dec-04 18:08
ThatsAlok30-Dec-04 18:08 
GeneralUsing Vectors Pin
dlarkin7730-Dec-04 9:29
dlarkin7730-Dec-04 9:29 
Hi,

Can anybody help me with the following?

I have a text file with some text. The text on each line is separated by a comma. The length of the text on each line varies. I have to store this information somehow.

I intended to create a 2D array but the size of an array has to be fixed, so that wouldn't accomodate the case where I am reading text from a large file.

It was suggested that I use a vector, but I have no idea how to work with them.

Can somebody help me out with how to create a vector that acts like a 2D array. Also how can I resize the vector? Where can I find an API that shows what methods can be used?

Hope this isn't asking too much.

Thanks very much,

dlarkin77 Confused | :confused:
GeneralRe: Using Vectors Pin
ThatsAlok30-Dec-04 18:23
ThatsAlok30-Dec-04 18:23 
GeneralRe: Using Vectors Pin
Neville Franks31-Dec-04 10:06
Neville Franks31-Dec-04 10:06 
GeneralProblem with USB Audio mu-Law Pin
Fei184087730-Dec-04 9:17
Fei184087730-Dec-04 9:17 
GeneralRe: Problem with USB Audio mu-Law Pin
namaskaaram2-Jan-05 17:22
namaskaaram2-Jan-05 17:22 

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.