mahmud1002's blog

By mahmud1002, history, 8 years ago, In English

TOP 5 funny mistakes C programmers do in the beginning ... the reason its funny coz most compiler doesnt count it as a error... rookie coder spend hours to find the problem in their code and then find it and think about kicking themselves... even u might have done one of them in ur early days :P

  1. scanf("%d %d",a,b);

  2. scanf("%c%c%c",&a,&b,&c);

3.scanf("%c",&a); gets(a);

4.if(a=1)printf("YES");

5.sum=b+c; printf("%d",&sum);

tell me if i missed some... :)

Full text and comments »

  • Vote: I like it
  • -32
  • Vote: I do not like it

By mahmud1002, history, 8 years ago, In English

u might be thinking that i have come here to tell u how to become a good coder.but thesad prat is i myself is trying to find that aanswer for a long time. i first thought

"practice makes a man perfect" so right after learning the basics of C i started to solve problems on CF/ i solved a lot of problems that was rated as most solved problems. but after solving 100 problems i realised that my dkill were not as developed as i hoped to be. i wasn't doing good in contests and not solving anything quickly. so somehow i think my approach was not good enough... so what more should ido? i started coding for like 3 months... now is the best time to take advices... help me please guys...

Full text and comments »

  • Vote: I like it
  • -26
  • Vote: I do not like it