Click here to Skip to main content
13,800,416 members
Rate this:
 
Please Sign up or sign in to vote.
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 2-Jan-18 19:43pm
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.181214.1 | Last Updated 3 Jan 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100