Dec 25, 2017 at 3:53am
i want to get the identifier of a object
class placeholder {
string identifier = identifier
public:
void print(){
cout << identifier << endl;
}
}
int main() {
placeholder name;
name.print();
}
output:
name
so if that's the code it should give me the identifier and output the identifier
im looking for any help anyone can give
Last edited on Dec 25, 2017 at 3:54am