Something
public cpp v1 · immutablevoid CommentList::loadCommentList(std::string fileName){ std::ifstream commentFile(fileName); for(std::string line; std::getline(commentFile, line); commentArray.push_back(line)); return;};void CommentList::loadCommentList(std::string fileName){ std::ifstream commentFile(fileName); for(std::string line; std::getline(commentFile, line); commentArray.push_back(line)); return;};