c++ cli - How to use value struct in c++ cli? -


sorry poor english, new c++ cli , wanna write following code c, , use variable config_file global (like c style), possible?

.h value struct s_configure_file{     string^ str_manufacturer;     string^ str_manufacturer_id;     string^ str_file_support_num;     list <string^>^ list_file_support; };  extern value struct s_configure_file;  .cpp value struct s_configure_file;  int funcspace::::funcfileproc() {     s_configure_file.str_manufacturer = "test";     s_configure_file.str_manufacturer_id = "1"; } 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -