Top "User-input" questions

User Input is data that the user inputs into the program.

Lua - get command line input from user?

In my lua program, i want to stop and ask user for confirmation before proceeding with an operation. I'm not …

lua user-input blocking wait
DataInputStream deprecated readLine() method

I am on java 6. Using DataInputStream in = new DataInputStream(System.in); to read user input. When the readLine() is deprecated. …

java user-input readline datainputstream
Check if the input is a number or string in C++

I wrote the following code to check whether the input(answer3) is a number or string, if it is not …

c++ string integer user-input string-conversion
What does `scanf("%*[^\n]%*c")` mean?

I want to make a loop in C that, when the program asks for an integer and the user types …

c user-input scanf format-specifiers
PL/SQL: how do I prompt user input in a procedure?

This is a question about a small part of a large project I'm doing. I tried the following but I …

sql oracle plsql user-input procedure
jQuery - remove user input text from textarea

Okay I have a list of devices where i can select which to edit. I have 3 states for the edit. …

jquery jquery-ui textarea jquery-ui-dialog user-input
Disadvantages of scanf

I want to know the disadvantages of scanf(). In many sites, I have read that using scanf might cause buffer …

c input user-input scanf
Which is the best way to get input from user in C?

Many people said that scanf shouldn't be used in "more serious program", same as with getline. I started to be …

c user-input
How to capture enter key being pressed on pages containing multiple forms?

I have inherited a web application where the usual ability to press return in any of the input fields has …

javascript jquery user-input return keyboard-events
How do I read multiple lines of raw input in Python?

I want to create a Python program which takes in multiple lines of user input. For example: This is a …

python input user-input