Click here to Skip to main content
14,244,199 members

C / C++ / MFC

 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
Richard MacCutchan24-Apr-19 21:36
protectorRichard MacCutchan24-Apr-19 21:36 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
leon de boer25-Apr-19 2:04
memberleon de boer25-Apr-19 2:04 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
Richard MacCutchan25-Apr-19 2:46
protectorRichard MacCutchan25-Apr-19 2:46 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
zak10025-Apr-19 6:52
memberzak10025-Apr-19 6:52 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
Joe Woodbury29-Apr-19 6:38
professionalJoe Woodbury29-Apr-19 6:38 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
leon de boer3-May-19 4:20
memberleon de boer3-May-19 4:20 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
Joe Woodbury3-May-19 5:51
professionalJoe Woodbury3-May-19 5:51 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
zak10025-Apr-19 7:05
memberzak10025-Apr-19 7:05 
Hi,
I am still getting the same message:

Quote:
$ mpicc gaussian.c
gaussian.c: In function ‘main’:
gaussian.c:73:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
data = (double *) malloc(num_cols * sizeof(double *));
^
$


I forget my C++ so I want to do this conversion.

Some body please guide me.

Zulfi.
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
zak10025-Apr-19 7:10
memberzak10025-Apr-19 7:10 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
leon de boer25-Apr-19 7:49
memberleon de boer25-Apr-19 7:49 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
zak10025-Apr-19 8:56
memberzak10025-Apr-19 8:56 
AnswerRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
ChrisFromWales30-Apr-19 23:37
memberChrisFromWales30-Apr-19 23:37 
GeneralRe: Pointer to Pointer: Conversion from- C++ to C-language Pin
Stefan_Lang4-Jun-19 22:01
memberStefan_Lang4-Jun-19 22:01 
Questionprocessing Multithread in MFC Pin
Member 1422104124-Apr-19 18:41
memberMember 1422104124-Apr-19 18:41 
AnswerRe: processing Multithread in MFC Pin
Victor Nijegorodov24-Apr-19 20:36
memberVictor Nijegorodov24-Apr-19 20:36 
AnswerRe: processing Multithread in MFC Pin
Richard MacCutchan24-Apr-19 21:31
protectorRichard MacCutchan24-Apr-19 21:31 
QuestionConversion from- C++ to C-language Pin
zak10024-Apr-19 16:28
memberzak10024-Apr-19 16:28 
QuestionRe: Conversion from- C++ to C-language Pin
David Crow24-Apr-19 16:59
memberDavid Crow24-Apr-19 16:59 
AnswerRe: Conversion from- C++ to C-language Pin
zak10024-Apr-19 18:04
memberzak10024-Apr-19 18:04 
GeneralRe: Conversion from- C++ to C-language Pin
David Crow25-Apr-19 2:11
memberDavid Crow25-Apr-19 2:11 
GeneralRe: Conversion from- C++ to C-language Pin
leon de boer25-Apr-19 2:20
memberleon de boer25-Apr-19 2:20 
QuestionPreprocessor Directives in C Program Pin
Aakashdata22-Apr-19 22:57
memberAakashdata22-Apr-19 22:57 
AnswerRe: Preprocessor Directives in C Program Pin
Renuka peshwani22-Apr-19 23:16
memberRenuka peshwani22-Apr-19 23:16 
AnswerRe: Preprocessor Directives in C Program Pin
Richard MacCutchan22-Apr-19 23:43
protectorRichard MacCutchan22-Apr-19 23:43 
AnswerRe: Preprocessor Directives in C Program Pin
leon de boer23-Apr-19 6:55
memberleon de boer23-Apr-19 6:55 

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.