Thanx for the tips dwks,
As far as the globlal array is concerned , I think it fits best in the specific situation. I mean it seems a bit strange that he is supposed not to declare any variables in...
Type: Posts; User: Levia8an
Thanx for the tips dwks,
As far as the globlal array is concerned , I think it fits best in the specific situation. I mean it seems a bit strange that he is supposed not to declare any variables in...
Do you have some interface you must implement?If not ,as Tonto already said , a global array would do the work.
int array[SIZE] ;/* the global array*/
int some_function( void ) ;...
In that case the return value would be stored in $v0 :)
Yeap it is wrong .Sorry .I guess i should have tried at first place .Before posting
Ok again, i am not quite sure i understood, but what if you tried this :
//prototype
void printMatrix( int ** matrix_name , int number_of_rows , int number of columns ) ;
//call it like...
If i understood correctly you need dynamic memory allocation not static.The problem is that you know the dimensions of the array only at run time?
in microsoft visual studio 98 platform.
/*float.h*/
#define DBL_DIG 15 /* # of decimal digits of precision */
/*...*/
#define LDBL_DIG 18 ...
Hmmm ,
After searching a bit with google , it seems that the precision is defined in float.h . In that case
the number of decimal parts a double can handle is 15 ( system dependent ). Well the...
Well ok,
This is actually an issue that arose when i was trying to compare 2 doubles.For example
double lim = 1.0000000000000000001 ;
double res = 0.0 ;
/*later on */
res =...
Hi everyone,
Is there any way that i could assign a large amount of decimal parts to a double variable?
Thx in advance