diff options
author | Matt Strapp <strap012@umn.edu> | 2020-10-04 11:02:33 -0500 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-10-04 11:02:33 -0500 |
commit | 7044d6867ecbb5bac8d26ce1f44269ed26f95177 (patch) | |
tree | d18d3057be88b8c09544f371842d8d7519175d2e /P1/src | |
parent | Don't reinvent the wheel (diff) | |
download | csci4061-7044d6867ecbb5bac8d26ce1f44269ed26f95177.tar csci4061-7044d6867ecbb5bac8d26ce1f44269ed26f95177.tar.gz csci4061-7044d6867ecbb5bac8d26ce1f44269ed26f95177.tar.bz2 csci4061-7044d6867ecbb5bac8d26ce1f44269ed26f95177.tar.lz csci4061-7044d6867ecbb5bac8d26ce1f44269ed26f95177.tar.xz csci4061-7044d6867ecbb5bac8d26ce1f44269ed26f95177.tar.zst csci4061-7044d6867ecbb5bac8d26ce1f44269ed26f95177.zip |
Do part of #4 maybe
Diffstat (limited to '')
-rw-r--r-- | P1/src/mapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/P1/src/mapper.c b/P1/src/mapper.c index 8aff3ec..3e0307d 100644 --- a/P1/src/mapper.c +++ b/P1/src/mapper.c @@ -87,6 +87,7 @@ void map(char *chunkData){ char *buffer; while ((buffer = getWord(chunkData, &i)) != NULL){ // get words from buffer & give it to emitter to be put into intermediateDS + emit(buffer, "1"); } // you can use getWord to retrieve words from the // chunkData one by one. Example usage in utils.h |