Skip to content

Commit

Permalink
Merge branch 'master' of github.com:haoel/leetcode
Browse files Browse the repository at this point in the history
  • Loading branch information
haoel committed Feb 4, 2015
2 parents 961e0bd + 859e312 commit 21079e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Some Scripts
============

`comments.sh` - use to generate a cpp file with some comments
### comments.sh

`comments.sh` - it's used to generate author and problem description comments

1) Create a file named largestNumber.cpp, and add Copyright & Problem description
```
Expand All @@ -14,8 +15,7 @@ Some Scripts
./comments.sh https://oj.leetcode.com/problems/largest-number/ largestNumber.cpp
```


the cpp source file's comment will be like blow:
The comments would be generated by above examples as below:

```
// Source : https://oj.leetcode.com/problems/largest-number/
Expand Down

0 comments on commit 21079e5

Please sign in to comment.