Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
//
// ECRow.h
//
// created by Daniel Backal
// 16/04/2020
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#ifndef ECROW_H
#define ECROW_H
#include <iostream>
#include <string>
#include <vector>
class ECRow
{
public:
ECRow();
~ECRow();
void SetFirst(bool first);
bool IsFirst();
int GetSize();
int GetChar(int x);
std::string ShowSelf();
int FirstWord();
void CalculateFirstWord();
void AddCharAt(int pos, int key);
int RemoveCharAt(int pos);
std::string AddEnterAt(int pos);
std::string GetLastWord();
std::string GetFirstWord();
private:
std::string _row;
bool _first;
int _firstWord;
};
#endif