Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,114 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,759 people online right now. Registration is fast and FREE... Join Now!




how can open & save graphics & sound (binary) in c

 
Reply to this topicStart new topic

how can open & save graphics & sound (binary) in c

tejginnare
9 Apr, 2007 - 11:41 PM
Post #1

New D.I.C Head
*

Joined: 9 Apr, 2007
Posts: 1


My Contributions
how can open the binury ( graphics & sound and many more ) file's in c language and copy that file's program
User is offlineProfile CardPM
+Quote Post

NickDMax
RE: How Can Open & Save Graphics & Sound (binary) In C
10 Apr, 2007 - 07:19 PM
Post #2

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,858



Thanked: 49 times
Dream Kudos: 550
My Contributions
well you question does not make a lot of sence. To open a file in binary mode you use fopen(const char *filename, "rb");... once you get the file open well then you will have to deal with the file's format.

Wotsit is a really good place to gint information of the various file formats.

QUOTE
...and copy that file's program

this is the part where I don't follow you. The data formats do not ussualy contain program information.

If you are asking how you can open the programs what use graphics and sound and find out how they work... well you CAN get yourself some debuging/disassembly/decompiling tools and work on reverse engineering the code. BUT! in most cases this is not needed as information on how to deal with graphics/sound are freely available on the web. In some cases where the file format is very proprietary you may need to reverse engineer to understand the file format, but we ussualy don't use the code directly from the program. At that point it is just easier to use it as a guide to write your own routines.

If you need more help please as a more specific question.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 09:49PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month