int contains(const char* word, const char* pattern) {
    int pCount = 0, pLength = strlen(pattern);
    char i;
...

C String Searching Algorithm

by Andreas Grech, March 28, 2010 01:43, 12 refactorings, tagged with c, string search

I wrote the following funct...

C398dd0c2ca7d5281d0a83242a924e76 Talk
void freeArray(int **a, int m) {
    int i;
    for (i = 0; i < m; ++i) {
...

C Freeing memory of a Multidi...

by Andreas Grech, November 28, 2009 17:18, 2 refactorings, tagged with c, array, malloc, free

Is this the correct way to ...

C398dd0c2ca7d5281d0a83242a924e76 Talk