我想加入一個 struct variable 到我的程序中, 但是擔心如果 arm build 不容許 struct define 在header 中, 會導致很多code 要重寫, 請問 define struct type 在header 中是合法嗎?
I want to declare a struct variable in the header file, but I afraid ARM build does not allow struct object exist in header. If so, lots of code will need to be rewrtitten. Can anyone please tell me is it legal to declare a struct type in header file?
I know stucts are define in *.hr or *.rss . I also know struct can only have "basic types" in Symbian definition. In my case I will use a container class to store vlue (linked list).
I just want to make it sure that struct can work like in C/C++.