User Profile
Collapse
-
I get an error message can not find the curve (RESD)
"if(CURVE(R ESD) < 0.001 ? 0.001 : CURVE(RESD))" -
If intcurveGR) isn't legal how does one round a number up and down to get rid of the decimal or to make decimal side=0? -
Jim Rockett started a topic What caused a Non numeric error in C formula I've several hours but no luckin CWhat caused a Non numeric error in C formula I've several hours but no luck
Subject: what caused a Non-numeric error in the C ++ formula below? the curveGR is name of a column of numbers
> if( (curveGR+ 0.5) >= (int(curveGR) + 1) )
> cout << curveGR << " rounds to " << int(curveGR)+1;
> else
> cout << num << " rounds to " << int(curveGR; <<
>
> error is non-numeric -
Line 100 gives the dimensions of a table as being 10x 10 10 across and 10 down.
Line 1100 Gives the location of the number in ()the table
in this case 0 means on the top row left side first digest the number after the = is the value of the first number..The table can also be written as (0,1)=1,0, (0,2)= 1.05, (0,3)=1.1, and so onLeave a comment:
-
how to convert Basic table to C ?
I am converting a Basic program to C here is a problem I have
Below is a table writen in Basic. Besides removing the line numbers how do you convert it to C The table was defined in Basic along with others this way.
What needs to be done here for C?
97 DIM A(25),B(25),C(2 5),T(25),V(25)
100 DIM TABLEA (10,10)
110 DIM TABLEB (10,10)
120 DIM TABLEC (10,10)
130 DIM TABLED (10,10)... -
-
how do I convert the following statement to C?
The curveGR is a column of numbers
The numbers in the statement are values to match against the curve to give the name of the mineral in this case dolomite. Dolomite is to be shown in a column beside the CurveGR with heading Mineral
The statement is--
if curveGR=>11.5 and curveGR <17.5 then print "dolomite"
No activity results to display
Show More
Leave a comment: