Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1774667

Questions relating to code that appears in a question or answer, such as answers which are entirely code. Do not use this tag for questions about code formatting; use [code-formatting] instead - and NEVER EVER USE THIS TAG TO ASK A PROGRAMMING QUESTION ON META!.

4 votes

Are edits that insert Swift 3 code into existing Swift 2 answers acceptable?

Stack Overflow is mainly about having good answers to good questions that help programmers. The first thing you should do is write a new answer that solves both the Swift 2 and Swift 3 problems. The …
Yakk - Adam Nevraumont's user avatar
9 votes

Should we change "void main()" to "int main()" in the OP's code?

Only change void main to int main if you know that it isn't the cause of the OP's problem. This usually requires that the problem be solved (either by you or someone else) before making the edit. Re …
Yakk - Adam Nevraumont's user avatar