3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Message/Message.cpp
- Committer:
- aburch1
- Date:
- 2017-05-11
- Revision:
- 83:0d3572a8a851
- Parent:
- 81:996c0a3319b4
- Child:
- 85:422d0a1b95cf
File content as of revision 83:0d3572a8a851:
#include "Message.h" /** Copies the content from ptr into the Message object text char array. @param ptr : Pointer to char array containing message. */ void Message::copy(char* ptr) { strncpy(text, ptr, 256); } /** @return text : Returns the text char array stored in Message object. */ char* Message::getText() { return text; }