Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SendMessage and ListBox Pin
User 665811-Mar-02 4:29
User 665811-Mar-02 4:29 
GeneralRe: SendMessage and ListBox Pin
Tomasz Sowinski11-Mar-02 4:37
Tomasz Sowinski11-Mar-02 4:37 
GeneralRe: THANKS A LOT!!!! Pin
User 665811-Mar-02 4:46
User 665811-Mar-02 4:46 
GeneralRe: THANKS A LOT!!!! Pin
Tomasz Sowinski11-Mar-02 4:56
Tomasz Sowinski11-Mar-02 4:56 
GeneralRe: SendMessage and ListBox Pin
Tomasz Sowinski11-Mar-02 4:50
Tomasz Sowinski11-Mar-02 4:50 
General2D Array Handling in VC++ Pin
G.V.Bhaskar11-Mar-02 1:44
G.V.Bhaskar11-Mar-02 1:44 
GeneralRe: 2D Array Handling in VC++ Pin
Tomasz Sowinski11-Mar-02 3:44
Tomasz Sowinski11-Mar-02 3:44 
GeneralRe: 2D Array Handling in VC++ Pin
Joaquín M López Muñoz11-Mar-02 3:58
Joaquín M López Muñoz11-Mar-02 3:58 
First of all, I'd recommend forgetting about 2D arrays and going to something more high-level like, for instance, a std::vector of std::strings. Anyway, if you can't afford it, the syntax you must follow is like this:
void F2(char array[][MAX_STRING_SZ+1],int len);
Here len is needed to inform about the first dimension of the 2D array. To define a variable capable of holding 2D arrays of unspecified (i.e. determined at run-time) first dimension, the syntax is:
char (* MyArray)[MAX_STRING_SZ+1];
which is also the return type of your F1 function. Remember, the first dimension must be passed along somehow. And please allow me to recommend you again that you use STL containers to make your life easier.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
QuestionWhy RichEdit20A scroll the contents of the view?? Pin
wtl11-Mar-02 1:29
wtl11-Mar-02 1:29 
GeneralExporting to Excel... Pin
Mauricio Ritter11-Mar-02 1:25
Mauricio Ritter11-Mar-02 1:25 
GeneralRe: Exporting to Excel... Pin
[James Pullicino]11-Mar-02 2:58
[James Pullicino]11-Mar-02 2:58 
GeneralRe: Exporting to Excel... Pin
Carlos Antollini11-Mar-02 3:44
Carlos Antollini11-Mar-02 3:44 
GeneralRe: Exporting to Excel... Pin
Mauricio Ritter11-Mar-02 4:19
Mauricio Ritter11-Mar-02 4:19 
GeneralRe: Exporting to Excel... Pin
Carlos Antollini11-Mar-02 4:33
Carlos Antollini11-Mar-02 4:33 
GeneralRe: Exporting to Excel... Pin
Mauricio Ritter11-Mar-02 4:50
Mauricio Ritter11-Mar-02 4:50 
GeneralRe: Exporting to Excel... Pin
Carlos Antollini11-Mar-02 4:55
Carlos Antollini11-Mar-02 4:55 
GeneralRe: Exporting to Excel... Pin
Mauricio Ritter11-Mar-02 5:04
Mauricio Ritter11-Mar-02 5:04 
GeneralRe: Exporting to Excel... Pin
Carlos Antollini11-Mar-02 5:22
Carlos Antollini11-Mar-02 5:22 
GeneralRe: Exporting to Excel... Pin
perlmunger18-May-02 16:50
perlmunger18-May-02 16:50 
Generalcommunication with LPT1 Pin
Kshav10-Mar-02 22:45
Kshav10-Mar-02 22:45 
GeneralRe: communication with LPT1 Pin
Joaquín M López Muñoz10-Mar-02 22:53
Joaquín M López Muñoz10-Mar-02 22:53 
Generalclass initialize problem Pin
10-Mar-02 22:24
suss10-Mar-02 22:24 
GeneralRe: class initialize problem Pin
Joaquín M López Muñoz10-Mar-02 22:25
Joaquín M López Muñoz10-Mar-02 22:25 
GeneralRe: class initialize problem Pin
10-Mar-02 22:45
suss10-Mar-02 22:45 
GeneralRe: class initialize problem Pin
Joaquín M López Muñoz10-Mar-02 23:09
Joaquín M López Muñoz10-Mar-02 23:09 

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.