Is it possible to declare an int function inside a class?

0

Well, I'm new to the C ++ language and I'm wondering if I can declare an int function inside a class?

Code sample:

class Metodos : public TypeMetodos
{
public:
    int metodo_file(const char *file_name);
};
    
asked by anonymous 14.02.2018 / 23:58

0 answers