Home > Software engineering >  Sisc_lib. H (10) : error C2059: grammar errors: "type"
Sisc_lib. H (10) : error C2059: grammar errors: "type"

Time:10-14

 # # ifndef __tisc_lib_h 
# define __tisc_lib_h

# include "tex-mex. H"

Void tisc_init (void);
Void tisc_destroy (void);

Int min (int a, int b),
Int Max (int a, int b),
Double mindbl (double, double);
Double maxdbl (double, double);
Double absdbl (double);

Void print_double_array (const double *, int, int).
Void print_mex_array (const mxArray *);

Void times (double, double, double, double, double, double);

Int tri (int, int);
Int inv_tri (int);

MxArray * fft2 (const mxArray *);
MxArray * ifft2 (const mxArray *);

Void get_real_imag (double * *, * *, double const mxArray *);

MxArray * get_reconstruction (const mxArray *, const mxArray *);
MxArray * get_correlation (const mxArray *, const mxArray *);
Void get_objective_function (double, double, double *, const mxArray *, const mxArray *, double);

Void start_clock (int);
Void stop_clock (int);
Double clock_time (int);
Void print_time (int, const char *);

# define NUM_TRACE 7
# define TRACE_FS 0
# define TRACE_LIB 1
# define TRACE_GD 2
# define TRACE_FILT 3
# define TRACE_BASIS_GD 4
# define TRACE_BASIS_GD_INNER 5
# define TRACE_BASIS 6

Void trace (int);
Void untrace (int);
Void tracepoint (int, const char *);


# endif

Procedure as above, could you tell me how to solve?

CodePudding user response:

Int min (int a, int b),
Int Max (int a, int b),
This is behind two sentences; No,

CodePudding user response:

Changed later still error
D: \ \ program files \ \ matlab r2010b \ sisc \ sisc_lib h (10) : error C2059: grammar errors: "type"
D: \ \ program files \ \ matlab r2010b \ sisc \ sisc_lib h (11) : error C2059: grammar errors: "type"

CodePudding user response:

Min Max conflict with C language
  • Related