Professional Documents
Culture Documents
Hello From C++
Hello From C++
#define CARACTERE_H_INCLUDED
#include <string>
#include <vector>
#include <windows.h>
using namespace std;
class litera
{
vector<string> l;
public:
litera(){}
bool empty()
{
return l[0].length() == 0;
}
cls()
{
//for(int i=0;i<10;i++)
// cout<<"\n\n\n\n\n\n\n\n\n\n";
//cout<<"\0";
//clrscr();
}
while(!banner.empty())
{
system("cls");
//cls();
cout<<banner;
Sleep(_frameL);
--banner;
}
}
litera& operator--()
{
for(int i=0;i<height;i++)
this->l[i].erase(0,1);
return *this;
}
#endif // CARACTERE_H_INCLUDED