Skip to content

Instantly share code, notes, and snippets.

@alsamitech
Created June 28, 2021 14:19
Show Gist options
  • Select an option

  • Save alsamitech/21c5acb87964a44677830b87124719a1 to your computer and use it in GitHub Desktop.

Select an option

Save alsamitech/21c5acb87964a44677830b87124719a1 to your computer and use it in GitHub Desktop.
Example for divergent thinking article
size_t until_char(char* src, char until){
char* new_src=src;
while(*new_src!=until)new_src++;
return new_src-src;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment