uppercase.c

0.0.0 • Public • Published

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

/uppercase.c/

    Package Sidebar

    Install

    npm i uppercase.c

    Weekly Downloads

    16

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • nopersonsmodules