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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 14676

A popularity-contest is a competition where the answer with the highest vote tally (upvotes minus downvotes) wins. As these are frequently closed, read the tag info and post your challenge to the sandbox first.

0
votes
C++ #include <fstream> main () { int c; std::fstream fs; fs.open ("myfile.txt", std::fstream::in); fs>>c; fs.close (); fs.open ("myfile.txt", std::fstream::out); fs<<c+1; …
answered Jan 17 '14 by izabera
2
votes
C++ Toast toast = New Toast(); toast.fillside("butter", "up"); toast.fall(); //this method swaps sides, now buttered side is down
answered Feb 26 '14 by izabera
4
votes
C It generates a random number in the 0-255 range by taking the seed from https://stackoverflow.com/questions using wget. #include <stdio.h> main() { FILE *file; unsigned char c,x; syste …
answered Mar 2 '14 by izabera
3
votes
C, exponentiation by squaring int power(int a, int b){ if (b==0) return 1; if (b==1) return a; if (b%2==0) return power (a*a,b/2); return a*power(a*a,(b-1)/2); } golfed version in 4 …
answered Mar 5 '14 by izabera