473,327 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

how to create a hex reader/compiler/editor

11
hi guys im stuck here...actually i was asked 2 use C language to create a hex reader/compiler/editor, for use in test department for modifying *.bin files.
Well as a new trainee in this company i can't really u'stand how to do it!
can anyone explain me wat should i do to in order to create a program for this company.
1)should i use array or structure for this program?
2)how to convert it into a hex file?


thank you for your help and guides in advance!
Sep 27 '07 #1
4 3631
oler1s
671 Expert 512MB
There's lots of free hex editors out there like xvi32, and so on. Why are you creating another one? Is there something special your department wants with this hex editor?
Sep 27 '07 #2
kelly86
11
There's lots of free hex editors out there like xvi32, and so on. Why are you creating another one? Is there something special your department wants with this hex editor?
well actually they wan me to display it in this order
address Value
00 0x05 00x0 ......................................
01 .................................................. ....
02 ..............................................
03 ................................................

well they juz want me to create it to repalce their *bin files...maybe because
im juz a trainee they doesn't want to elobrate about it much!
izit easy to create a hex editor?they had included me the DJGPP software to create the program.....until tis thats all they had included to me!
Sep 27 '07 #3
oler1s
671 Expert 512MB
I'm not sure I quite understand what you're saying, although, your bad grammar, spelling, and lack of effort at giving details aren't helping. So I'll ask you a few questions instead.

1. Have your employers and have you ever used a hex editor? You can get one for free by using Google. xvi32 is the name of one of them, and there's countless of quality editors out there. Both you and your employers should try a few of them out and see what a hex editor is like.
2. Have you ever programmed before?
3. Have you programmed in C before?
4. Do you know how to read large files? Do you know how to manage large buffers in memory? How much experience with data structures and algorithms do you have?
5. If you are still required to program a hex editor, you need details. Does it intuitively make sense that to write a program, you need details about what to write? Do you understand it is impossible to create something when you have absolutely no detail about what to create?
6. Did you by any chance misrepresent your skillset to your employers? By your questions, and grammatical capabilities, It seems like you know near to nothing about C, or programming for that matter.
Sep 27 '07 #4
kelly86
11
I'm not sure I quite understand what you're saying, although, your bad grammar, spelling, and lack of effort at giving details aren't helping. So I'll ask you a few questions instead.

1. Have your employers and have you ever used a hex editor? You can get one for free by using Google. xvi32 is the name of one of them, and there's countless of quality editors out there. Both you and your employers should try a few of them out and see what a hex editor is like.
2. Have you ever programmed before?
3. Have you programmed in C before?
4. Do you know how to read large files? Do you know how to manage large buffers in memory? How much experience with data structures and algorithms do you have?
5. If you are still required to program a hex editor, you need details. Does it intuitively make sense that to write a program, you need details about what to write? Do you understand it is impossible to create something when you have absolutely no detail about what to create?
6. Did you by any chance misrepresent your skillset to your employers? By your questions, and grammatical capabilities, It seems like you know near to nothing about C, or programming for that matter.

of course i had programmed in C before.yup i know to read larger files....well i had used c,c++ and java before....just that i don't have any experience in using hex editor thats all......my employers haven't give yet any details about what to write in the program....for time being i juz wanted to know the concept thats all.
Sep 27 '07 #5

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

Similar topics

2
by: Raoul Duke | last post by:
hello, does there exist a javascript editor that auto fills in the stuff you want to type ? debug mode that can step trace bugs ? i'm used of working with eclipse, but that's like shooting...
6
by: Sebastian | last post by:
Do you have a simple example for creating a simple hello world compiler in c# or vb.net? thanks Sebastian
3
by: raja_svks | last post by:
Hi Group, I just want to develop a language of my own. Not a big one.. Just I want to write a line like printme("Hello World"); I want to create a compiler to compile this and convert into...
1
by: Jon Paal | last post by:
I have a dataset created from an xml file how can I create a datareader (dataview ?) ?? to return sql results =========== Dim ds As New DataSet() Dim sr As New StringReader(my_xmlData)...
0
by: Rich | last post by:
Hello, When I create an icon in VB2005 icon editor - 32x32, the figure I draw in the editor is not displaying on the icon file in the solution explorere, in windows explorer, on the exe, or on...
8
by: robak | last post by:
Hello and sorry for my bad english :). I need to create simple editor (geometry basic shapes like lines, rectangles, ellipse). I have a little problem. I know how to create simple shape but dont know...
2
by: calldk | last post by:
i want to create a html editor (i dont want any third party tools to be used).. i need c# coding for this editor
3
by: danesh1354 | last post by:
Hi All, First I need to construct a text editor by python programming and add this code to a biger code that has been written before, and i would like that by my code for this editor have a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.