Hello!
I've built a c++ program and a window said to me : "Code::Blocks IDE has stoped working"
After that, any programs I've built, even Hello world, the CB ... stoped working
I uninstaled and reinstaled, same crash
I erase default.conf, visual C++ ,etc and same crush.
I reinstaled Windows10. Evrica! Hello world it works! Not for a long time. After i build my program the ethernal crash is back!!!
Please give me a solution, to solve the problem in a simple way, without windows reinstall.
By the way, my fatal program, with the unknown fatal error is:
#include <cstring>
#include <cctype>
#include <cstdio>
using namespace std;
int main()
{
char a[]="ADOBEadobe+-*", s[100001], x[5], *p, ch;
gets(s);
int contor=0;
p=strpbrk (s,a);
while (p+4!=NULL)
{
int isa=1,isb=1,isd=1,ise=1,iso=1,ec=0,ev=0,eo=0,alt=0,defv,defc;
for (int i=0;i<5;i++)
{
ch=*(p+i);
switch (tolower(ch))
{
case 'a':
isa--;
break;
case 'o':
iso--;
break;
case 'e':
ise--;
break;
case 'd':
isd--;
break;
case 'b':
isb--;
break;
case '*':
eo--;
break;
case '+':
ec--;
break;
case '-':
ev--;
break;
case '\0':
printf("%d",contor);
return 0;
default :
alt++;
break;
}
}
if (!alt)
{
if(isa<0||isd<0||iso<0||isb<0||ise<0)
alt++;
else
{
defv=isa+ise+iso+ev;
defc=isd+isb+ec;
if (defv+defc+eo==0)
contor++;
}
}
p=strpbrk(p+1,a);
}
printf("%d", contor);
return 0;
}
// scanf: ebodaE+m***++
// printf: 4
Thanks!
Now I decativate Cccc plugin, crash
it is called "code completion", not cccc
Have you tried to delete
C:\Users\USERNAME\AppData\Roaming\CodeBlocks