IT Community - Software Programming, Web Development and Technical Support

Can we generate a C++ source code from the binary file?

This is a discussion on Can we generate a C++ source code from the binary file? within the C and C++ Programming forums, part of the Software Development category; Can we generate a C++ source code from the binary file?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C and C++ Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-23-2007, 01:40 AM
Sabari Sabari is offline
D-Web Genius
 
Join Date: Jul 2007
Posts: 1,008
Sabari is on a distinguished road
Lightbulb Can we generate a C++ source code from the binary file?

Can we generate a C++ source code from the binary file?
__________________
Thanks & Regards
Sabari...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-30-2007, 11:47 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Arrow Re: Can we generate a C++ source code from the binary file?

Sure you can do that. The hard part is writing the parser for the binary file code. An easy way would be to write up all your C++ source code, save it out as a binary file, and then read everything back in as C++ source, then write everything back out as a C++ source file. As you can see, this is very redundant. You could come up with your own scripting language for parsing a binary file if you wanted to, but that could take a little while. Please question me again if you need help with scripting, I've had extensive work with it.
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I keep people from stealing my source code and/or images? oxygen HTML, CSS and Javascript Coding Techniques 3 10-18-2008 02:19 AM
How can I hide the JavaScript source code from "view source" function of the browser? KiruthikaSambandam HTML, CSS and Javascript Coding Techniques 1 11-13-2007 09:17 PM
How do you colour code the source in the answers on alt-php-faq.org? itbarota PHP Programming 1 09-12-2007 12:56 AM
block the source code Alan HTML, CSS and Javascript Coding Techniques 5 04-23-2007 02:21 AM
Need help on not letting visitors view my source code oyu2o Web Design Help 2 03-15-2007 03:43 PM


All times are GMT -7. The time now is 09:38 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0