how to search string from a text file also after searching searching it should change

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajnish singh

    #1

    how to search string from a text file also after searching searching it should change

    I have to search x,y cordinates from a text file.Ater searchig x,y value from the file ,the value of x,y should change in other format in output mode.

    Suppose we have x=33.5,y=77.5

    in output mode the value of x should be .335xxxxxxxD+02
    and y should be .775xxxxxxxxD+0 2.

    I will appriciate if anyone can help me.
  • JavierL
    New Member
    • Apr 2010
    • 17

    #2
    Save the value in a array of chars, then add it to a string with the modification you want.

    Comment

    Working...