GithubHelp home page GithubHelp logo

bin2c's Introduction

* bin2c 1.0

bin2c is a simple commandline utility that generates C source files from binary files. It can be used to embed external files into C or C++ programs.

Visit sourceforge.net/projects/bin2c to for new versions.

* License

To the extent possible under law, Fatih Aygün has waived all copyright and related or neighboring rights to bin2c. In other words, bin2c is public domain program, you can do whatever you want to do with it.

* Compilation

bin2c is a standard C program that you can compile with your favorite C compiler. A ready to run Windows executable compiled with mingw cross-compiler is included in the package.

* Usage

    bin2c [OPTION...] FILE [FILE...]

    Options:
      -d, --header <file name>  Name a header file (A header file will not be created  unless explicitly named)
      -h, --help                Print a command line help and exit immediately
      -o, --output <file name>  Name an output file
      -m, --macro               Create the size definition as a macro instead of a const
      -n, --name <symbol name>  Name the symbol to be defined
      -v, --version             Print version information and exit immediately

    Examples:
      bin2c -o foo.h bar.bin
            Create 'foo.h' from the contents of 'bar.bin'

      bin2c -o foo.h file1 file2
            Create 'foo.h' from the contents of 'file1' and 'file2'

      bin2c -d foo.h -o foo.c bar.bin
            Create 'foo.c' and 'foo.h' from the contents of 'bar.bin'

bin2c's People

Contributors

jeremyagost avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.