44
DevRage
5y

Every code exam ever

Comments
  • 2
    memcpy, done
  • 5
    char* strcpy(char *dest, char *src) {
    char *ret = dest;
    while(*dest++ = *src++);
    return ret;
    }

    Trivial. Next?
  • 0
    @Root that can run into buffer overflows though
  • 1
    @RealKC Yep.
    That's the problem with C strings.
    Pascal strings work better.
  • 1
    Project for school is to create a framework and a cms based on it without using any existing code / lib, have fun inventing the wheel twice a day ☀
Add Comment