Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <iostream>
- #include <string.h>
- const unsigned int maxLines = 10u;
- const unsigned int maxChars = 10u;
- class ctxt
- {
- public:
- ctxt()
- {
- m_currentLines = 0;
- }
- ~ctxt()
- {
- for(int i = 0; i < maxLines; ++i)
- {
- delete[] m_txtList[i];
- }
- }
- void scan();
- void print();
- void sort();
- private:
- char * m_txtList[maxLines];
- unsigned int m_currentLines;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement