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 competition to solve a particular problem through the usage and manipulation of strings.
0
votes
Find the needle in the haystack
C (VC++) Visual Studio 2017, 538bytes
well there can be a couple of Bytes be stripped of if the haystack and needle string is Input via command line Parameters but i can not get it to work proberly then … so the haystack and needle string is hard coded in the source (ugly….. 😢) takes 50bytes
Maybe anyone wants to improve on that
anyway the Code i came up with is
#include"stdafx.h"
#define r v[1][ …
1
vote
Play Zip, Zap, Zop
break;
}
}
}
break;
}
}
printf("Output %s\n",theString);
}
int main()
{
char theString[]= "zzzzIIIIp0815-4711"; // a test string …
0
votes
Sing Baby Shark
C (compiled with VC++ (Visual Studio 2017)) 536Bytes
#include "stdafx.h"
#define d "doo "
#define p(x) printf(x);
#define n p("\n")
#define b p(f[i])p(" Shark ")
#define l(x,y) for(int x=0;x<y;x++)
v …