IEditor source code [fully working]

03/19/2013 05:24 go for it#1
some pix
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

you can find all values and edit manually or find all values and edit automatically
this is the engine with bit more options for edits , you can add way more awesome stuff to it
accurate , decent and unique engine , however it could be done way better
you may do whatever you want with this project but you should always remember my credits

this is an educational project and just for sake of learning more , so please if you think codes are awful then nicely comment with what you think it's awful and better alternatives to get it done and not just being mean for the sake of pleasing your ego :P

have a wonderful day ^^
find it in attachments

just a little more information : this was made basically to convert all hex values to dec values to remove the effect of reflecting sources
but it's not limited to that usage , i could not find another application that does the same thing to search for unknown hex values with unknown lengths and convert all of them , engine could be done in pretty much easier way but that would have limited that app for changing hex values to dec and not just any similar strings or values which begin and end with similar/common/limited in number chars
03/19/2013 15:06 |xabi|#2
i'd lie if i told you this prog isn't useful :)
keep up ya sa7bi :)
03/19/2013 17:18 _tao4229_#3
Consider regular expressions over "starts/ends with."

Regular expressions are a standard means of writing search patterns. Regex matches are implemented in a variety of modern programming languages (Java, C#, etc.) and there are libraries for other languages (C++, etc.). They are extremely powerful in searching for specific kinds of data.

Learn more about regex syntax (language independent for the most part, implementations vary): [Only registered and activated users can see links. Click Here To Register...]

C# implements regexes very cleanly: [Only registered and activated users can see links. Click Here To Register...]

The regex you need is something like "0x(\d)+" to match only things starting with 0x then 1 or more digits following.
03/19/2013 18:57 go for it#4
@|xabi| that was made after your request so you should find it useful :P thanks bud

@_tao4229_ thanks for showing me that libs but that was fun coding this engine and find it as accurate as this library engine (give them a try)
yes it should be as easy as using lib with something like @"\b\0x+" "\b" or w/e it's syntax , i don't even know if it's option to search for variable ends and begins but that could be done with someway or another ex.
beings 0x ends ' '
beings 0x ends ';' and so on , but anyway if i were to use any of them ill use mine as it's functional and i had fun coding it :)
i appreciated the link of lib but that was all for educational purpose :)
03/19/2013 19:53 Super Aids#5
Regex is not a library. It's an expression used to manipulate strings. (Note that is not entirely correct, but seems like you didn't even get what it's about so I'll just let it be as that)

You can use it to search, replace, remove, validate etc.
03/19/2013 20:12 go for it#6
Quote:
Originally Posted by Super Aids View Post
Regex is not a library. It's an expression used to manipulate strings. (Note that is not entirely correct, but seems like you didn't even get what it's about so I'll just let it be as that)

You can use it to search, replace, remove, validate etc.
well tbh i didn't read much at msdn , but does i sounds competing to regex or even need it o-0 ? prolly you are missing the point
i took couple of hrs just to learn doing something with programming with zero intention to use it to get better at programming
i do that pretty much all the time , code classes and methods to do stuff which could be done with other methods or even which is unique and once i get it to work in couple of hrs i move on to the next project :)

when i asked for recommendation on codes i meant a different way to achieve something or maybe a bad logic which could be done way better than that but not the whole thing :)
but anyway thanks for the info and yup regex is pretty good one
03/20/2013 21:07 pro4never#7
They gave you what you asked for, a different (better, more industry standard) way of accomplishing the same thing.

The code you are using for searching/replacing is simply not as good a method as using regex to accomplish the same tasks. That's why they provided you with the links for future consideration.

Regex lets you match specific patterns very easily and is geared towards exactly what you're trying to do (searching and replacing). A little reading on it would prove very beneficial not only to this current project of yours but also anything you might code down the line.
03/20/2013 21:11 ShittyMod#8
Regex is so slow (or at least most implementations of it are) and ugly