CrazyEngineers
  • 😁

    I want to know about 😒 "time bounded input in c language" ...
    it means user has only few seconds which has define by developer
    if user is not give input on this time next line should be compile.
    but note this this funda or logic should be in c language.....
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • niraj.kumar

    MemberSep 28, 2008

    You can use sleep() command to implement that .

    Or other way would be to use user defined signal handling
    Are you sure? This action cannot be undone.
    Cancel
  • sriramchandrk

    MemberSep 29, 2008

    Use alarm command

    try to find in stevens book or google it.

    Regards
    Sriram
    Are you sure? This action cannot be undone.
    Cancel
  • mahul

    MemberSep 29, 2008

    One easy way is to fork a child process that will generate a signal after a fixed time. This signal when captured can be used to skip the line.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register