Variable의 name을 string으로 가져오기

Variable의 name을 string으로 가져오기

converting a variable name to a string in C++

You can use the preprocessor “stringify”  # to do what you want:

[/crayon]
(Sorry for  printf, I never got the hang of  <iostream>. But this should be enough.)

Leave a Reply