I need to use variables of type string
, the problem is that I can not include libraries within my classes in Code :: Blocks, is there anyway to include the string
/ string.h
library in my C ++ class ?
The code for my class:
#ifndef PROJETO_H
#define PROJETO_H
class projeto
{
private:
string codprojeto;
int estprojeto;
int faseprojeto;
int funcao;
public:
projeto();
bool regcod(string cod);
string consultarcod();
};
#endif // PROJETO_H