Jorge Aldo G. de F. Junior wrote:
const has the same effect as fpc const before a parameter,
This is not true.
double* SX0
is the same as
double *SX0
or
double * SX0
so this becomes
const SX0 : pdouble (ugly pointer as array Cishism)
No! 'const double * X' in C makes the pointed-to data c
On Sat, 19 Mar 2011 11:30:47 -0300, "Jorge Aldo G. de F. Junior"
wrote:
>no one explained so let me try :
>
>> void ForwardModel::SetMixedBoundaryCondition(const int iElec,
>
>void somefunction means its a pascal procedure
>
>> const double* SX0,
>
>const has the same effect as fpc const before
no one explained so let me try :
> void ForwardModel::SetMixedBoundaryCondition(const int iElec,
void somefunction means its a pascal procedure
> const double* SX0,
const has the same effect as fpc const before a parameter,
double* SX0
is the same as
double *SX0
or
double * SX0
so this beco
On Sat, 19 Mar 2011 13:10:25 +0100, Jürgen Hestermann
wrote:
>
>
>Ingemar Ragnemalm schrieb:
>> Converting bad C code (that means almost any C code)
>> to good FPC code is a great thing to do, converting to bad FPC code is
>> not as much fun.
>Yes, when already in progress of converting to Pasca
On Sat, Mar 19, 2011 at 13:03, Bo Berglund wrote:
>
> Now I have found another very strange construct:
>
> void ForwardModel::SetMixedBoundaryCondition(const int iElec,
> const double* SX0,
> const double* SY0,
> const double* SZ0,
> double* SX,
> double* SY,
> double* SZ)
>
> Now it s
On Sat, 19 Mar 2011 08:30:45 +0100, Aleksa Todorovic
wrote:
>On Sat, Mar 19, 2011 at 06:07, Bo Berglund wrote:
>>
>> 1) The second line in the loop contains the command std::max, how can
>> that be translated? I have not found any class definition for "std"
>> with a method "max"
>>
>
>There