User Profile

Collapse

Profile Sidebar

Collapse
marvinp
marvinp
Last Activity: Jun 22 '07, 12:38 PM
Joined: Feb 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • marvinp
    replied to doubt in primitive data type + long
    in Java
    thx jos...it really worked.......
    See more | Go to post

    Leave a comment:


  • marvinp
    started a topic doubt in primitive data type + long
    in Java

    doubt in primitive data type + long

    Hi,

    I have declared a long variable. I know the max value for a long variable is 2^63-1.

    But when i assign a 2147483649 to the long variable its giving an error saying
    " integer number too large: 2147483649
    lvalue = 2147483649; "

    2147483647 is the maximum value for integer, then y am not able to assign a value more than this to a long varaible ...
    ...
    See more | Go to post

  • marvinp
    replied to Help me with pointer to pointers
    in C
    I suggest if u want to create dynamic 2D array


    int rows = 4;
    int cols = 3;

    int **pp = new int*[rows];

    for ( int i =0 ; i < rows ;i ++ )
    {
    pp[i] = new int[cols];
    }

    This will create a dynamic 2D array of rows 4 and cols 3.

    can access the array element using pp[i][j].
    See more | Go to post

    Leave a comment:


  • i mean, i want to assign m_lmilliSeconds a value which means it is infinity. Like, i can assign -1 to represent it is infinity. But instead of that juz wanted to know if any constant value is already defined in java for this like what is there in .NET ( System.Threadin g.Timeout.Infin ity )....
    See more | Go to post

    Leave a comment:


  • I have a function WaitOnMultipleE vents( long lMilliseconds ) in the class. So the parameter value is set to m_lMilliseconds member variable which means how much time it has to wait.

    when lMilliseconds is less than 0, i want to set the m_lMilliseconds to infinity. So what value should i assign for it....
    See more | Go to post

    Leave a comment:


  • marvinp
    started a topic Is there any constant defined for infinity in java
    in Java

    Is there any constant defined for infinity in java

    I am writing a class which contain a variable INFINITY. Is there any constant defined for this in java so that i can assign that value?

    In .NET, there is System.Threadin g.Timeout.Infin ite for infinity. I am looking for the same in java also.
    See more | Go to post

  • Hi,

    Thx for reply. But can u explain abt what u told? Actually my application is in VB.Net and i have placed the group box and activeX control in a dialog. Wat u said is applicable to this scenario also??...
    See more | Go to post

    Leave a comment:


  • marvinp
    started a topic JAWS not reading groupbox with activeX control
    in .NET

    JAWS not reading groupbox with activeX control

    hi

    I am using JAWS 6.0 as accessibility tool. I have a group box which has one activeX control . When i tabbed to it, JAWS is not reading the group box name, it juz voice activeX control. I changed FlatStyle property of group box to FlatStyle.Syste m 'n then also its not working ..

    Can anybody help on this....
    See more | Go to post
No activity results to display
Show More
Working...