Skip to content

Commit 53d046c

Browse files
committed
Updated README.md with a 'Use Cases' section.
1 parent 8a5647e commit 53d046c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ It is designed to be easy to use by developers and to provide easy call function
3030

3131
The generated functions that reads and extracts the embedded content does not rely on external libraries so you don't need to setup your projects to use any third party library to start using bin2cpp. All your embedded data can be accessed right away.
3232

33+
## Use cases ##
34+
35+
The following list shows situations where bin2cpp is useful:
36+
37+
* Embedding default configuration files if none are provided.
38+
* Embedding GLSL shaders into the executable.
39+
* Embedding text or XML databases (gui layout, names, language dictionaries
40+
* A portable alternative to C++11 raw string literals.
41+
* Prevent stealing copyrighted resources.
42+
* Embedding images/icons/sounds for a GUI application. The application executable can be shipped/copied as a single file.
43+
* Embedding a long PL/SQL code string.
44+
* Allowing an executable to be downloaded from an intranet server as a single file.
45+
* Distributing an application without an installer package. All configurations files and resources can be embedded and extracted at first launch of the application.
46+
3347
# Command Line Usage
3448

3549
```
@@ -171,7 +185,7 @@ namespace bin2cpp
171185
}; //bin2cpp
172186
```
173187

174-
### Code sample
188+
### Code sample (using embedded code)
175189
```cpp
176190
#include <stdio.h>
177191
#include <string>

0 commit comments

Comments
 (0)