Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef SNAKE_H
- #define SNAKE_H
- class snake{
- private:
- vector<string> words;
- public:
- string wordsnake;
- string getwords()
- {
- return words;
- }
- string computesnake()
- {
- for(const string &word : words)
- {
- //gets the number of elements in the array words[]
- for()
- {
- //gets individual characters to print from
- }
- }
- }
- void printwords(NULL)
- {
- //function to print the results of the computesnake function
- }
- void setwords(tempword)
- {
- tempword -> words[];
- }
- } snake;
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement