From 7e4239a1962542a299ecd20da5d1072d82957985 Mon Sep 17 00:00:00 2001 From: Jim Lee Date: Thu, 15 Oct 2020 23:12:01 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6cdf51f..a3184fe 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ void makeDirectory(void) { } } ``` -numParams() actually returns the number of parameters that the user typed in. If you are expecting more than one, you may want to use the for setting up a for loop for decoding parameters? Up to you. +numParams() actually returns the number of parameters that the user typed in. If you are expecting more than one, you may want to use a for-loop for grabbing parameters? Up to you. getParamBuff() Each time getParamBuff() is called, it allocates a buffer for the NEXT parameter string the user typed and returns it. This means YOU MUST FREE THIS BUFFER WHEN YOUR DONE WITH IT. See this being done in the code above. That's about it. Give it a try and see if it helps.