Top "User-input" questions

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

How to provide your own delimiter for cin?

In c, I can use newline delimeter ([^\n]) with scanf. Using which I can store the line. Similarly for cin, …

c++ user-input codeblocks ubuntu-11.04
HTML - How to prevent user from editing form's value?

I am developing a simple web apps that allowed user to key in information using a form when I discovered …

php webforms user-input
What is the correct way to make web form input safe for a variety of contexts?

What do you all think is the correct (read: most flexible, loosely coupled, most robust, etc.) way to make user …

php design-patterns user-input sanitization
Escaping user input from database necessary?

So I know about MySQL injection and always escape all my user input before putting it in my database. However …

php mysql escaping sql-injection user-input
Why my textbox TextChanged event gets fired after I enter "only" one character in my text box?

private void NameVal_TextChanged(object sender, EventArgs e) { String text = NameVal.Text; } As soon as I enter the first letter …

winforms textbox user-input textchanged
saving user input from uitable matlab GUI?

I'm creating a GUI (not using GUIDE) I'm looking for a convenient way for a user to enter some data. …

matlab user-interface user-input matlab-uitable
What's the best approach to get Date/Time input from the user?

This is a wheel that's been re-invented again and again over the years. The Problem: The user needs to input …

user-interface language-agnostic user-input
How to protect against diacritics such as Zalgo text

The character pictured above was tweeted a few months ago by Mikko Hyppönen, a computer security expert known for …

c# unicode user-input diacritics zalgo
Taking a binary input from the user in python for bitwise operations

N,M=raw_input().split(' ') N=int(N,2) M=int(M,2) print N|M Code converts initial input …

python binary user-input bitwise-operators bitwise-or