You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-3Lines changed: 37 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,50 @@ It contains C++ examples for all classic GoF design patterns. Each pattern inclu
10
10
11
11
## Requirements
12
12
13
-
TODO
14
-
13
+
The examples were written as cross platform console application using c++11. It means that you should be able to compile and execute those examples with any recent compiler.
14
+
15
+
we recommend working with Visual Studio Code because it is a lightweight and cross-platform tool .It is a very complete IDE and is available for free (https://code.visualstudio.com/). You may need to install c++ extension and the compiler you prefer (The extension is still in preview and its focus is code editing, navigation, and debugging support for C and C++). For more information on how to use VSCode with c++ refer to: https://code.visualstudio.com/docs/languages/cpp .
16
+
17
+
For code execution in VSCode you will need to set up your task first. An example using g++ :
Then you just need to start the executable.In case you have some doubts here you have an useful [tutorial] using vscode.
15
37
16
38
## Contributor's Guide
17
39
18
-
TODO
40
+
I appreciate any help, whether it's a simple fix of a typo or a whole new example. Just make a fork, make your change and submit a pull request.
41
+
42
+
Here's a style guide which might help you to keep your changes consistent with the rest of the project's code:
43
+
44
+
1. All code should match the [Google style guide].
45
+
2. Aim to put all code within one .cc file. Yes, I realize that it's not how it supposed to be done in production. However, it helps people to understand examples better, since all code fits into one screen.
46
+
3. The comments doesn't follow the style guide for compatibility reasons withe other language examples.
47
+
19
48
20
49
21
50
## License
22
51
23
52
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
0 commit comments