Author Topic: vector+struct CC problem  (Read 7231 times)

Offline Borr

  • Multiple posting newcomer
  • *
  • Posts: 29
vector+struct CC problem
« on: October 25, 2010, 01:47:51 pm »
1. CC list is off-screen. see additional
2. CC does not work with vector+struct
struct rows{
wxString name;
wxString SN;
std::vector<rows> table;
Grid->SetCellValue(i, colName, table[i]./*code completion does not show the list of variables - name and SN*/);

C::B svn 6752 from binary  OS: WinXP SP3
« Last Edit: October 25, 2010, 01:49:32 pm by Borr »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5931
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: vector+struct CC problem
« Reply #1 on: November 06, 2010, 04:21:15 am »
for the "off screen issue", I think we should adjust the tip window ( move it or restrict its size ).

the other issue, I will check it later.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.