Recent content by Erised

  1. E

    Why Does My C Program Skip Input Fields?

    @delta_moment Is system("pause"); the command you're talking about? Hmm it doesn't work. The gets(name); isn't being executed by the compiler. It just skips that statement:/ But a simple program like the one below works just fine. main() { char name[25] int i...
  2. E

    Why Does My C Program Skip Input Fields?

    @brk235, Shouldn't it be scanf("%s",name); without the ampersand Anyway, this wouldn't allow me to enter a proper full name like 'John Smith'. When I executed the code, it let me enter the name but not the scores in the first loop :-/ The output looked like this: Enter the number of...
  3. E

    Why Does My C Program Skip Input Fields?

    Problem in C, please help :) Hello all, So I'm learning C nowadays and I got stuck at this rather simple program. I have no idea what the problem in the program is so I hope someone can help. The program is for reading the number of students in a class, likewise reading their names and scores...
Back
Top