Search:

Type: Posts; User: Levia8an

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    22,561

    Thanx for the tips dwks, As far as the globlal...

    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...
  2. Replies
    13
    Views
    22,561

    Do you have some interface you must implement?If...

    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 ) ;...
  3. Replies
    12
    Views
    7,757

    In that case the return value would be stored in...

    In that case the return value would be stored in $v0 :)
  4. Yeap it is wrong .Sorry .I guess i should have...

    Yeap it is wrong .Sorry .I guess i should have tried at first place .Before posting
  5. Ok again, i am not quite sure i understood, but...

    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...
  6. If i understood correctly you need dynamic...

    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?
  7. Replies
    7
    Views
    1,981

    in microsoft visual studio 98 platform. ...

    in microsoft visual studio 98 platform.


    /*float.h*/
    #define DBL_DIG 15 /* # of decimal digits of precision */

    /*...*/
    #define LDBL_DIG 18 ...
  8. Replies
    7
    Views
    1,981

    Hmmm , After searching a bit with google , it...

    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...
  9. Replies
    7
    Views
    1,981

    Well ok, This is actually an issue that arose...

    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 =...
  10. Replies
    7
    Views
    1,981

    Assigning values to double vars

    Hi everyone,
    Is there any way that i could assign a large amount of decimal parts to a double variable?
    Thx in advance
Results 1 to 10 of 10