News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Code Blocks 17.12: why i don't get the vector structure list?

Started by cambalinho, December 25, 2018, 05:55:49 PM

Previous topic - Next topic

cambalinho

see these structure:
struct FunctionList
    {
        string Name;
        string Return;
        vector<string> ParametersType;
    };
vector <FunctionList> FuncList;

when i do:
FuncList[FunctionListIndex].
i only get these on list:
_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)

oBFusCATed

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!]

cambalinho

after more and more search, i found the 'solution'.
on my header file i added the:
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

cambalinho

oBFusCATed yes the code completion popup list(but when we add the dot)

cambalinho