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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -