Commit Graph

2856 Commits

Author SHA1 Message Date
MoreMoschops
7d5368eda1 Neither gcc nor clang accept void main.
Neither gcc nor clang accept void main. Remove this bad information. Tested as follows:

    $ cat 045.cpp
    void main()
    {
    }
    $ g++ 045.cpp
    045.cpp:1:11: error: ‘::main’ must return ‘int’
     void main()
               ^
    $ clang++ 045.cpp
    045.cpp:1:1: error: 'main' must return 'int'
    void main()
    ^~~~
    int
    1 error generated.
    $ g++ --version
    g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
    $ clang++ --version
    Ubuntu clang version 3.4.2-3ubuntu2~xedgers (tags/RELEASE_34/dot2-final) (based on LLVM 3.4.2)
2015-04-26 15:33:29 +01:00
ven
fcd17c238c Merge pull request #1065 from j-baker/master
[standard-ml] Standard ML has references!
2015-04-26 12:50:26 +02:00
James Baker
183ca56459 Add myself as a contributor 2015-04-26 10:08:17 +01:00
James Baker
f8260574d9 Add examples of imperative-style control
Make reference and update, add use of a while and use of seq
2015-04-26 10:00:21 +01:00
James Baker
02bc518351 Standard ML has references
Standard ML is not a pure language and has imperative structures like
references while and seq
2015-04-26 09:59:15 +01:00
Geoff Liu
ac8d9dde18 Merge pull request #1063 from sinkswim/master
[JSON/it]
2015-04-25 00:39:26 -06:00
robertmargelli
f3ba1c8a19 added italian JSON translation 2015-04-24 22:45:14 -07:00
Levi Bostian
e23d925c26 Merge pull request #1060 from geoffliu/master
[zh_CN/markdown] Fix issue #959
2015-04-24 16:01:11 -05:00
Geoff Liu
8347fa0187 Merge pull request #1059 from srirams6/python2-print
[python/en] Moved to default python2 print statements.
2015-04-24 13:00:40 -06:00
Sriram Sundarraj
c2963cdc31 [python/en] Removed python3 print. 2015-04-24 23:29:01 +05:30
Geoff Liu
10ece6fabb Fix issue #959 2015-04-24 11:34:48 -06:00
Sriram Sundarraj
6b6342a7dc [python/en] Moved to default python2 print statements. 2015-04-24 22:57:33 +05:30
Geoff Liu
4ee011100b Merge pull request #1054 from srirams6/master
[python/en] Range function arguments.
2015-04-24 11:19:51 -06:00
Geoff Liu
50d59adb72 Merge pull request #1056 from srirams6/bashlinefix
[bash/en] Fixed overflowing line.
2015-04-23 15:55:22 -06:00
Sriram Sundarraj
19f6739cba [bash/en] Fixed overflowing line. 2015-04-24 02:36:54 +05:30
Sriram Sundarraj
98aa4ef43c [python/en] Added range(start, stop). 2015-04-24 01:50:17 +05:30
Geoff Liu
04eed19763 Merge pull request #1050 from srirams6/master
[python3/en] Adding strings without + added.
2015-04-22 15:45:21 -06:00
Sriram Sundarraj
8cfb7ba02f [python/en] Range function arguments.
Range function with start and stop.
2015-04-23 02:06:43 +05:30
Sriram Sundarraj
d20eb1fb94 Adding strings without + added. 2015-04-23 01:48:18 +05:30
Levi Bostian
2ae6322bf6 Merge pull request #1048 from srirams6/master
[python/en] Adding strings without + added.
2015-04-22 15:10:25 -05:00
Sriram Sundarraj
2ad26dd44a [python/en] Adding strings without + added. 2015-04-23 01:30:40 +05:30
Levi Bostian
9dd6e173f7 Merge pull request #1045 from bcc32/patch-1
fix the while macro for Common Lisp
2015-04-22 11:09:50 -05:00
Levi Bostian
97ce4be0cd Merge pull request #1047 from SamuelMarks/patch-1
Fixed grammar, added explanation of function signature and arguments
2015-04-22 11:05:52 -05:00
Samuel Marks
1faab2901e Fallthrough 2015-04-23 00:02:33 +10:00
Samuel Marks
3bf74b3dda Fixed grammar, added explanation of function signature and arguments 2015-04-22 23:54:16 +10:00
Geoff Liu
8071dd3f6b Merge pull request #1046 from eush77/fix/typescript-typo
[typescript/en] Fix typo
2015-04-21 14:04:47 -06:00
Eugene Sharygin
107861875f [typescript/en] Fix typo 2015-04-21 23:01:08 +03:00
Aaron Zeng
6b2d8d5fe2 fix the while macro for Common Lisp
Earlier version was incorrect, as it only executed `body` once and then terminated, like an if statement instead.
2015-04-21 15:08:39 -04:00
Levi Bostian
a5d38aedd5 Merge pull request #1044 from thisiskevinchoi/patch-1
Add default case to switch statement in Go
2015-04-21 11:01:32 -05:00
Kev Choi
f63032d2f2 Add default case to switch statement in Go 2015-04-20 23:26:38 -07:00
Levi Bostian
4d1bc86b4e Merge pull request #1042 from Arnie97/patch-1
[tmux/en] replace html tags with markdown
2015-04-19 21:25:54 -05:00
Levi Bostian
ef4582cffb Merge pull request #1043 from astahlman/master
Fixed spelling of 'arithmetic' in Clojure Macros tutorial.
2015-04-19 21:25:23 -05:00
Andrew Stahlman
1ae0d0aa7e Fixed spelling of 'arithmetic' in Clojure Macros tutorial. 2015-04-19 14:03:21 -07:00
Arnie97
9cc8e12105 Update tmux.html.markdown 2015-04-19 10:59:11 +08:00
Arnie97
4f48046096 Update tmux.html.markdown 2015-04-19 10:54:26 +08:00
Geoff Liu
b44aded453 Merge pull request #1035 from Arnie97/master
Translate [c++/en] into [c++/cn]
2015-04-17 14:03:31 -04:00
Geoff Liu
5a631baf3e Merge pull request #1039 from Alwayswithme/scala/zh
[scala/cn]translate scala doc into chinese
2015-04-17 11:52:55 -04:00
Arnie97
7bab2c5e8d Remove duplicate code. 2015-04-17 22:51:02 +08:00
Arnie97
c5212932b9 More bug fixes. 2015-04-17 22:19:13 +08:00
alwayswithme
c8c6924dcc resolve translation errors 2015-04-17 14:57:21 +08:00
yejinchang
4adbf231c8 make corrections 2015-04-16 17:53:40 +08:00
ven
6e9ccfaea3 fix #1032
and a few more fixes/moving arounds
2015-04-15 14:33:52 +02:00
yejinchang
60b56e777e fix minor mistake 2015-04-15 18:12:21 +08:00
Arnie97
8f0027683d Some bug fixes. 2015-04-15 18:09:34 +08:00
yejinchang
b95c6b0dae translate scala doc into chinese 2015-04-15 15:54:53 +08:00
Geoff Liu
ff2399dda6 Merge pull request #1010 from chadluo/master
Improved zh-CN translation for Haskell
2015-04-12 22:03:16 -06:00
Geoff Liu
34c3071c41 Merge pull request #1036 from Arnie97/patch-2
[c++/en] Fix spelling
2015-04-12 22:00:50 -06:00
Arnie97
c7f085ee34 Merge pull request #1 from adambard/master
Fetch updates from upstream
2015-04-11 13:09:50 +08:00
Arnie97
299f3de0ea [c++/en] Fix spelling 2015-04-11 12:52:23 +08:00
Arnie97
c38d8d9313 [c++/cn] Update the translated file name. 2015-04-11 12:40:47 +08:00