error C2664: 'printf' : cannot convert parameter 2 from 'void' to '...'

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi everyone,

Is there anyone can help to solve error C2664: printf : cannot convert parameter 2 from void to ... ?
Here my code :
#include <stdio.h><br/>
#include <stdlib.h><br/>
#include "anisodiff1D.h"<br/>
#include "anisodiff1D_initialize.h"<br/>
#include "anisodiff1D_terminate.h"<br/>
#include "rt_nonfinite.h"<br/>
#include "anisodiff1D.h"<br/>
#include "power.h"<br/>
#include "conv.h"<br/>
<br/>
int main(void)<br/>
{<br/>
<span style="white-space:pre real_T diff_sig_data[210];<br/>
<span style="white-space:pre int32_T diff_sig_sizes[1];<br/>
<span style="white-space:pre anisodiff1D_initialize();<br/>
<span style="white-space:pre printf("anisodiff1D=%gn",anisodiff1D(diff_sig_data,diff_sig_sizes));<br/>
<span style="white-space:pre anisodiff1D_terminate();<br/>
<br/>
return 0;<br/>
}


Thanks in advance

View the full article
 
Back
Top