User Profile

Collapse

Profile Sidebar

Collapse
santanuguchhait
santanuguchhait
Last Activity: Nov 27 '08, 10:30 AM
Joined: Nov 19 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • santanuguchhait
    started a topic Type Mismatch
    in Java

    Type Mismatch

    Hi,
    I am transferring a c++ code to a java code.
    My problem is I am facing a type mismatch error in java.

    The c++ code is : New_Addr = CodeAddr ;

    Here in c++ New_Addr is char *New_Addr

    and CodeAddr is char[]

    but when I am transferring it into java it is showing type mismatch, cannot convert from char to char[] .

    Please write the equivalent java code of...
    See more | Go to post

  • santanuguchhait
    started a topic sprintf() in java
    in Java

    sprintf() in java

    Hi,
    I want to get the sprintf() function in java.
    Please write the code of the following sprintf() function in java.

    sprintf(buff,"% 2.2X ",RValue);

    Here buff is a string variable and RValue is also a string variable. The middle parameter is the format. My question is how to store the value of RValue in buff using the format specified("%2.2 X ").
    See more | Go to post
No activity results to display
Show More
Working...