Click here to Skip to main content
15,846,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDoc/View application with docking pane Pin
Gagnon Claude15-May-09 14:12
Gagnon Claude15-May-09 14:12 
AnswerRe: Doc/View application with docking pane Pin
«_Superman_»15-May-09 21:46
professional«_Superman_»15-May-09 21:46 
AnswerRe: Doc/View application with docking pane Pin
Rajesh R Subramanian16-May-09 1:46
professionalRajesh R Subramanian16-May-09 1:46 
AnswerRe: Doc/View application with docking pane Pin
Stuart Dootson16-May-09 14:18
professionalStuart Dootson16-May-09 14:18 
QuestionCompiling error from stdafx.h [modified] Pin
transoft15-May-09 11:18
transoft15-May-09 11:18 
AnswerRe: Compiling error from stdafx.h Pin
Stuart Dootson15-May-09 14:01
professionalStuart Dootson15-May-09 14:01 
GeneralRe: Compiling error from stdafx.h Pin
transoft16-May-09 4:15
transoft16-May-09 4:15 
QuestionPassing multidimensional arrays to functions Pin
Royce Fickling15-May-09 10:45
Royce Fickling15-May-09 10:45 
Hi,

I am having a problem declaring and passing a multidimensional array of floats as an argument to a function. Can someone help me with this problem? My code is enclosed.

Any help appreciated.


            float* pData = new float[nNumRows,2];
    for( int i = 0; i < nNumRows;  i++ )
    {
        pData[i][0] = ((CSodSpecData*)pOdbSpecData)->m_cvData[i].Real();
        pData[i][1] = ((CSodSpecData*)pOdbSpecData)->m_cvData[i].Imag();
    }

    lErrorCode = pService->serviceNotifyDataEventSet( pData[0], strSensorName );

// The function to store the data
CDFstatus CABCDEntryPointService::serviceNotifyDataEventSet(float* dataSet, const CString& varName)

AnswerRe: Passing multidimensional arrays to functions Pin
led mike15-May-09 11:19
led mike15-May-09 11:19 
QuestionRe: Passing multidimensional arrays to functions Pin
David Crow15-May-09 11:23
David Crow15-May-09 11:23 
QuestionWide char vs. ANSI char Pin
transoft15-May-09 8:32
transoft15-May-09 8:32 
AnswerRe: Wide char vs. ANSI char Pin
CPallini15-May-09 8:49
mveCPallini15-May-09 8:49 
AnswerRe: Wide char vs. ANSI char Pin
Rajesh R Subramanian16-May-09 1:20
professionalRajesh R Subramanian16-May-09 1:20 
GeneralRe: Wide char vs. ANSI char Pin
Joe Woodbury16-May-09 18:55
professionalJoe Woodbury16-May-09 18:55 
GeneralRe: Wide char vs. ANSI char [modified] Pin
Rajesh R Subramanian16-May-09 20:17
professionalRajesh R Subramanian16-May-09 20:17 
QuestionCurious COM question - the case of the second exe server... Pin
Jim Crafton15-May-09 6:51
Jim Crafton15-May-09 6:51 
AnswerRe: Curious COM question - the case of the second exe server... Pin
Nemanja Trifunovic15-May-09 8:37
Nemanja Trifunovic15-May-09 8:37 
GeneralRe: Curious COM question - the case of the second exe server... Pin
CPallini15-May-09 8:49
mveCPallini15-May-09 8:49 
GeneralRe: Curious COM question - the case of the second exe server... Pin
Jim Crafton15-May-09 9:02
Jim Crafton15-May-09 9:02 
GeneralRe: Curious COM question - the case of the second exe server... Pin
CPallini15-May-09 12:48
mveCPallini15-May-09 12:48 
JokeRe: Curious COM question - the case of the second exe server... Pin
Rajesh R Subramanian16-May-09 2:50
professionalRajesh R Subramanian16-May-09 2:50 
GeneralRe: Curious COM question - the case of the second exe server... Pin
CPallini16-May-09 3:06
mveCPallini16-May-09 3:06 
GeneralRe: Curious COM question - the case of the second exe server... Pin
Jim Crafton15-May-09 8:55
Jim Crafton15-May-09 8:55 
GeneralRe: Curious COM question - the case of the second exe server... Pin
Rajesh R Subramanian16-May-09 0:23
professionalRajesh R Subramanian16-May-09 0:23 
Questionhi Pin
Mohammadj15-May-09 6:28
Mohammadj15-May-09 6: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.