summaryrefslogtreecommitdiffhomepage
path: root/c++.html.markdown
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-04-27 00:52:02 +0200
committerven <vendethiel@hotmail.fr>2015-04-27 00:52:02 +0200
commitd394fcc96a967e88d72c429350edb4c1e01455f1 (patch)
tree923c4057f2b4c810fa306e0867735ac23bccecf0 /c++.html.markdown
parentfcd17c238cc3f6de828be3470626e4a14878aecc (diff)
parent7d5368eda1e2402b6b2bed85586fde0c6af87816 (diff)
Merge pull request #1067 from MoreMoschops/master
Neither gcc nor clang accept void main.
Diffstat (limited to 'c++.html.markdown')
-rw-r--r--c++.html.markdown3
1 files changed, 1 insertions, 2 deletions
diff --git a/c++.html.markdown b/c++.html.markdown
index 1a84efa4..ae93ceba 100644
--- a/c++.html.markdown
+++ b/c++.html.markdown
@@ -32,8 +32,7 @@ one of the most widely-used programming languages.
// variable declarations, primitive types, and functions.
// Just like in C, your program's entry point is a function called
-// main with an integer return type,
-// though void main() is also accepted by most compilers (gcc, clang, etc.)
+// main with an integer return type.
// This value serves as the program's exit status.
// See http://en.wikipedia.org/wiki/Exit_status for more information.
int main(int argc, char** argv)