Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Operating System Problem Pin
Mark Salsbery26-Sep-08 4:33
Mark Salsbery26-Sep-08 4:33 
GeneralRe: Operating System Problem Pin
Rajesh R Subramanian26-Sep-08 5:46
professionalRajesh R Subramanian26-Sep-08 5:46 
Questionhow to create a web server using CAsyncSocket in VC++(MFC) Pin
tns_ranjith25-Sep-08 21:06
tns_ranjith25-Sep-08 21:06 
AnswerRe: how to create a web server using CAsyncSocket in VC++(MFC) Pin
Mark Salsbery26-Sep-08 5:28
Mark Salsbery26-Sep-08 5:28 
AnswerRe: how to create a web server using CAsyncSocket in VC++(MFC) Pin
Moak27-Sep-08 4:17
Moak27-Sep-08 4:17 
GeneralRe: how to create a web server using CAsyncSocket in VC++(MFC) PinPopular
Mike O'Neill6-Oct-08 13:49
Mike O'Neill6-Oct-08 13:49 
GeneralRe: how to create a web server using CAsyncSocket in VC++(MFC) Pin
feiguohai28-May-12 18:48
feiguohai28-May-12 18:48 
Questiontwo dimensional pointer array casting (C question) Pin
Electronic7525-Sep-08 20:51
Electronic7525-Sep-08 20:51 
Hello Smile | :) ,
I have defined a two dimensional array of type double in one of my MFC classes
in class 1:
double m_aCoefficients[10][20];
and now I want to make a pointer to this variable in another of my classes and assign address of this double array to that pointer.
so i have defined in class 2:
double* m_pCoefficients[10][20];
and in my CMyDoc Class I have tried this:
m_Class2.m_pCoefficients = (double*[10][20]) &m_Class1.m_aCoefficients;
but it gives error
Error 4 error C2440: 'type cast' : cannot convert from 'double (*)[10][20]' to 'double *[10][20]'

How can I resolve this?
thanks
AnswerRe: two dimensional pointer array casting (C question) Pin
KarstenK25-Sep-08 21:20
mveKarstenK25-Sep-08 21:20 
AnswerRe: two dimensional pointer array casting (C question) Pin
SandipG 25-Sep-08 21:46
SandipG 25-Sep-08 21:46 
GeneralRe: two dimensional pointer array casting (C question) Pin
Electronic7525-Sep-08 22:34
Electronic7525-Sep-08 22:34 
QuestionStore String in Array Pin
LearnVC++MFC25-Sep-08 20:41
LearnVC++MFC25-Sep-08 20:41 
AnswerRe: Store String in Array Pin
Cedric Moonen25-Sep-08 20:45
Cedric Moonen25-Sep-08 20:45 
GeneralRe: Store String in Array Pin
LearnVC++MFC25-Sep-08 20:50
LearnVC++MFC25-Sep-08 20:50 
GeneralRe: Store String in Array Pin
santhoshv8425-Sep-08 20:58
santhoshv8425-Sep-08 20:58 
GeneralRe: Store String in Array Pin
LearnVC++MFC25-Sep-08 21:25
LearnVC++MFC25-Sep-08 21:25 
GeneralRe: Store String in Array Pin
CPallini25-Sep-08 23:54
mveCPallini25-Sep-08 23:54 
GeneralRe: Store String in Array Pin
LearnVC++MFC26-Sep-08 0:38
LearnVC++MFC26-Sep-08 0:38 
GeneralRe: Store String in Array Pin
CPallini26-Sep-08 1:13
mveCPallini26-Sep-08 1:13 
GeneralRe: Store String in Array Pin
Cedric Moonen25-Sep-08 21:04
Cedric Moonen25-Sep-08 21:04 
GeneralRe: Store String in Array Pin
LearnVC++MFC25-Sep-08 21:29
LearnVC++MFC25-Sep-08 21:29 
GeneralRe: Store String in Array Pin
Cedric Moonen25-Sep-08 21:36
Cedric Moonen25-Sep-08 21:36 
GeneralRe: Store String in Array Pin
LearnVC++MFC25-Sep-08 21:41
LearnVC++MFC25-Sep-08 21:41 
GeneralRe: Store String in Array Pin
LearnVC++MFC25-Sep-08 21:44
LearnVC++MFC25-Sep-08 21:44 
GeneralRe: Store String in Array Pin
Cedric Moonen25-Sep-08 21:49
Cedric Moonen25-Sep-08 21:49 

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.