Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ARRAY of custom type as parameter
#7
Don't know, but I see two tabs[] in single loop...
The best way to add/set elements of such array is:

rep
,TABPROP& x=tabs[] ;;adds new element and gets reference to it
,;now set members of the element
,x.name=...
,x.index=...
,...


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)