0.0.0 • Published 11 years ago

uppercase.c v0.0.0

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

uppercase.c

uppercase a string in-place in c

example

#include "stdio.h"
#require "uppercase.c" as uppercase

int main (int argc, char **argv) {
    for (int i = 1; i < argc; i++) {
        printf("%s ", uppercase(argv[i]));
    }
    printf("\n");
    return 0;
}

methods

#require "uppercase.c" as upper

char upper(char str)

Uppercase the string str in-place, returning str.

install

With npm do:

npm install uppercase.c

This is a dotc module.

license

MIT