Click here to Skip to main content
15,905,238 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vector push_back question Pin
Chris Hambleton30-Sep-02 11:13
Chris Hambleton30-Sep-02 11:13 
GeneralRe: vector push_back question Pin
RedZenBird30-Sep-02 11:21
RedZenBird30-Sep-02 11:21 
Generalgot half of it, thanks, but... Pin
ns30-Sep-02 11:34
ns30-Sep-02 11:34 
GeneralRe: got half of it, thanks, but... Pin
RedZenBird30-Sep-02 12:12
RedZenBird30-Sep-02 12:12 
GeneralForm View Splitter Pin
DarrollWalsh30-Sep-02 10:04
DarrollWalsh30-Sep-02 10:04 
GeneralRe: Form View Splitter Pin
Chris Hambleton30-Sep-02 11:24
Chris Hambleton30-Sep-02 11:24 
GeneralRe: Form View Splitter Pin
DarrollWalsh30-Sep-02 21:27
DarrollWalsh30-Sep-02 21:27 
GeneralAnother map question Pin
ns30-Sep-02 9:19
ns30-Sep-02 9:19 
The map is (long, char*). I get a char* buffer tempB from a CFile read, of size nSize.

CAn I do aMap[nSize] = tempB? i.e. assign it with the = sign?
or do I have to allocate memory for the maps second element or something and do a strcpy?

I would have avoided char* and used CStrings but it looks like the Write for CFile needs a pointer to a buffer....

In case my question isnt clear...we cant assign char* with the = sign, it has to be strcpy. SO in the case of my map, do I allocate ,memory to *it.second() and strcpy?

Confused | :confused:

Appreciate your help,
ns
GeneralRe: Another map question Pin
Chad Koehler30-Sep-02 9:29
Chad Koehler30-Sep-02 9:29 
Generalgreat news!! Pin
ns30-Sep-02 9:49
ns30-Sep-02 9:49 
GeneralWhat about read? Pin
ns30-Sep-02 10:00
ns30-Sep-02 10:00 
GeneralRe: What about read? Pin
Scott H. Settlemier30-Sep-02 10:14
Scott H. Settlemier30-Sep-02 10:14 
GeneralRe: What about read? Pin
ns30-Sep-02 10:21
ns30-Sep-02 10:21 
GeneralRe: What about read? Pin
Scott H. Settlemier1-Oct-02 7:36
Scott H. Settlemier1-Oct-02 7:36 
GeneralRe: What about read? Pin
ns1-Oct-02 7:40
ns1-Oct-02 7:40 
Generala map question Pin
ns30-Sep-02 8:57
ns30-Sep-02 8:57 
GeneralRe: a map question Pin
Anonymous30-Sep-02 9:20
Anonymous30-Sep-02 9:20 
GeneralRe: a map question Pin
RedZenBird30-Sep-02 12:16
RedZenBird30-Sep-02 12:16 
GeneralRe: a map question Pin
jhwurmbach30-Sep-02 21:49
jhwurmbach30-Sep-02 21:49 
GeneralRe: a map question Pin
ns1-Oct-02 2:26
ns1-Oct-02 2:26 
GeneralCreate array of CArray Pin
ooosawaddee330-Sep-02 7:29
ooosawaddee330-Sep-02 7:29 
GeneralRe: Create array of CArray Pin
jmkhael30-Sep-02 7:30
jmkhael30-Sep-02 7:30 
GeneralCfile and consecutive writes Pin
ns30-Sep-02 7:18
ns30-Sep-02 7:18 
GeneralRe: Cfile and consecutive writes Pin
jmkhael30-Sep-02 7:21
jmkhael30-Sep-02 7:21 
GeneralRe: Cfile and consecutive writes Pin
ns30-Sep-02 7:28
ns30-Sep-02 7:28 

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.