Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created December 5, 2016 15:53
Show Gist options
  • Save AndyNovo/b7297e710e58d011165ce8a4e9d5160b to your computer and use it in GitHub Desktop.
Save AndyNovo/b7297e710e58d011165ce8a4e9d5160b to your computer and use it in GitHub Desktop.
char charBuffer[CHAR_BUFFER_SIZE];
cin >> charBuffer;
charBuffer[CHAR_BUFFER_SIZE-1] = '\0';
printLine(charBuffer);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment