Author Topic: Code Blocks 17.12: why i don't get the vector structure list?  (Read 1141 times)

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 58
Code Blocks 17.12: why i don't get the vector structure list?
« on: December 25, 2018, 05:55:49 pm »
see these structure:
Code: [Select]
struct FunctionList
    {
        string Name;
        string Return;
        vector<string> ParametersType;
    };
vector <FunctionList> FuncList;
when i do:
Code: [Select]
FuncList[FunctionListIndex]. i only get these on list:
Code: [Select]
_M_emplace_aux()why i don't get the structure list?
(i'm sorry, but i don't know the name of that menu list)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12126
    • Travis build status
Re: Code Blocks 17.12: why i don't get the vector structure list?
« Reply #1 on: December 25, 2018, 06:13:18 pm »
Are you talking about the code completion popup list?
If yes, then probably our parser has failed to parse your code...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Code Blocks 17.12: why i don't get the vector structure list?
« Reply #2 on: December 25, 2018, 06:13:44 pm »
after more and more search, i found the 'solution'.
on my header file i added the:
Code: [Select]
namespace std;but now on cpp file...
on header file, maybe the list is showed.... but not on cpp... unless we add the same line.
after added the same line, the list is showed.. strange why these happens...
thanks for all

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Code Blocks 17.12: why i don't get the vector structure list?
« Reply #3 on: December 25, 2018, 06:15:13 pm »
oBFusCATed yes the code completion popup list(but when we add the dot)

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 58
Re: Code Blocks 17.12: why i don't get the vector structure list?
« Reply #4 on: December 25, 2018, 08:45:28 pm »
i did a mistake... it's:
Code: [Select]
using namespace std;