User Profile

Collapse

Profile Sidebar

Collapse
cclark18
cclark18
Last Activity: Jan 7 '10, 07:59 PM
Joined: Jan 5 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • @myusernotyours - Looking back, I guess the question was a little vague, sorry. The console awaited my input before showing the first printf() statement as Banfa said.

    @murugesandins - Yes, that is what the program was supposed to do.

    @Banfa - That was the issue. Thank you sir, may your cup'eth overflow.
    See more | Go to post

    Leave a comment:


  • cclark18
    started a topic fgets is executed before any other code is run
    in C

    fgets is executed before any other code is run

    Hi everybody

    I am a C newbie. A simplified version of my problem is below. The issue is that when the code is run, fgets is executed before any of the other code is run. I'm sure its some minor detail I am missing. Any help you can give in the matter would be appreciated.

    Thanks in advance.

    /* *************** *************** *************** ************* */
    #include <stdio.h>

    char...
    See more | Go to post
No activity results to display
Show More
Working...