|
Well, I believe I know the problem you're having with Dev-C++. I use it. It is a great compiler, but a shitty form creator. I don't know why, but it is. I suggest completely forgoeing the form manager, and doing things by hand. It'll make life a lot easier and more controlled in the end, at the expense of a higher learning curve.
Keep Dev-C++, it's the only good IDE/compiler set out there that's also free. But try not to use the form managers, they've done nothing but mess up for me as well.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
|