By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,009 Members | 1,885 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,009 IT Pros & Developers. It's quick & easy.

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

P: n/a
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+02.

I will appriciate if anyone can help me.
Oct 21 '10 #1
Share this Question
Share on Google+
1 Reply


JavierL
P: 17
Save the value in a array of chars, then add it to a string with the modification you want.
Oct 22 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.