Hi, I am using Code::Blocks 16.01 on Win8.1 .
I met a problem while I was coding in C++11.
When I typed an 'auto' type, the parser couldn't understand what I was typing (I tried 're-parse', but it didn't work. ).
How to solve this problem?
Example Code:
struct ExampleStruct
{
int a,b;
};
ExampleStruct GetExample()
{
ExampleStruct a;
return a;
}
void func()
{
auto x=GetExample();
x.a=1; /// Here, when I typed "x.", the auto complete box didn't show up.
}