Search Results
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 |
A code challenge is a competition for creative ways to solve a programming puzzle with an objective winning criterion not covered by other scoring tags (e.g. code-golf).
18
votes
Add a feature to a programming language
Foreach in C
Iterate arrays (works for static arrays, not ones, received through pointer)
//syntactic beauty
#define in ,
//syntactic beauty's helper macro
#define foreach(a) _foreach(a)
// …
0
votes
Generate the longest error message in C++
This code
#include <sstream>
namespace myns {
//}
#include <valarray>
when compiled with gcc 11.3 with -std=c++2a produces an infinite complier error output (at least I waited for 5 minutes and it …