Code::Blocks version? Are you using a project? Are file extensions standard?
#include <stdio.h>
#include <string.h>
class myclass
{
public:
myclass() {}
int myfunc(int a)
{
return a+1;
}
};
int main()
{
myclass a=myclass();
a.|
}
Your last comment doesn't help much in resolving the problem!
There is no such feature added in C::B 12.11 or later that requires you to restart the IDE for CC to work correctly.
Please try a night build or post a minimal sample and steps that reproduces the problem.