Click here to Skip to main content
15,889,403 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone here i have text file its in ascii format it actually contains hexa equivalent from 0000 to FFFF.
so once after reading ascii text file i want to convert it into hexa and check whether the numbers in ascending order are skippd??,

What I have tried:

since i am beginner i dont know how compare ascii strings in ascending order.
Posted
Comments
Graeme_Grant 3-Jan-18 0:54am    
We are not going to write your code for you.

Do you have any sample data or code that you have already written to share? Please update your question by clicking on the Improve question widget.
Balaraj Nayak 3-Jan-18 6:52am    
thanks for your response i myself only designed it.
OriginalGriff 3-Jan-18 2:01am    
Start by looking at what it actually contains: your description isn't clear enough to design from.
Does the file contain strings like "000000010002..." or binary values? Are there any separators? Line breaks? Are the numbers in the file big endian or little endian? These and other questions need to be looked at before you can even start looking at processing the data - and then you need to define what you mean by "whether the numbers in ascending order are skippd".
Use the "Improve question" widget to edit your question and provide better information, including what you have tried so far...
Balaraj Nayak 3-Jan-18 6:52am    
thanks for your response i myself only designed it.
OriginalGriff 3-Jan-18 7:10am    
Meaning what?

Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900