I'm fairly new to programming, wondering how I could do something like this...

class Cdata
{
public:
char something;

void functiion()
{
char something= "text";
}
};


I get an error
"cannot convert from 'char [length]' to 'char"