5,643 questions
-4
votes
0
answers
114
views
How to add user input when using class in c++ [closed]
I am having a hard time putting in user input for name, major, term, and term average. i am also having a hard time putting in input for the 5 courses.
#include <iostream>
using namespace std;
...
-1
votes
0
answers
38
views
Script does not function as expected after user input [closed]
My batch file, credits to ebola man on YouTube, only gets the inputs, then goes off, and doesn't do anything.
Here is the content:
@echo off
set /p ip="IP? "
set /p user="Enter ...
-1
votes
0
answers
38
views
How to get the return from a user's input in one python script file in another without calling the function again?
I am coding a battleships game and storing the data on google sheets (next module we learn about SQL databases). The data includes:
Usernames, encrypted passwords (using bcrypt), saved game states, ...
1
vote
1
answer
56
views
How to hold an input open for a specific length of time
A project I am working on needs to automatically accept an input after 5 seconds. the idea is that they have 5 seconds to enter as many particular characters as possible.
I've found plenty of examples ...
2
votes
1
answer
45
views
I have input validation and now im trying to continue the code // Powershell
I am following a tutorial I found on youtube for a file integrity monitor. The code is messy but im trying to add my own twist and clean it up. I just added input validation and now the code won't run ...
0
votes
0
answers
45
views
Simulate mouse input on touchscreen without handicapping user input
I am currently developing a C# .NET console application on my computer which allows me to move a virtual joystick by moving my mouse to the joystick and pressing down(currently not implemented) and ...
-4
votes
3
answers
84
views
How do I hide the auto-printed input result in Python? [closed]
My test code so far is simple:
CODE = Nova
print("Enter code:")
U_PASS = input()
if U_PASS == CODE:
print("<" + CODE + ">")
The result in the console looks like ...
0
votes
0
answers
22
views
Need difference of column filters based on slicer range selection by user
I have tables -> calender , bi_alloceffort_data & bi_alloceffort_data_main. I Have linked calendar date column to REVDATE column of bi_alloceffort_data & "PROJECTNO" of both the ...
0
votes
1
answer
75
views
How to re-render table to reflect input data
I have two files/components:
Createrisk.jsx for creating individual risks
Tablepage.jsx displays the risks in an MUI Data Grid
The problem is Tablepage renders only the attributes from Createrisk ...
0
votes
0
answers
26
views
Adding a NumericUpDown to a menu?
Windows Forms has a control NumericUpDown that allows the user to choose a number by clicking tiny up and down arrows, or entering a number via keys.
Is there a way to add this functionality, but ...
0
votes
0
answers
51
views
For safety, is it enough to check whether user input conforms to an expected value? Or do I need to escape it before output anyway? [duplicate]
Is it enought to check whether user input conforms to an expected value, before I embed it into executed code? E.g.:
$fruits = array(
"Orange",
"Banana"
);
if(isset($_GET['...
2
votes
1
answer
79
views
@action got an unexpected keyword argument 'id'
class CustomUserViewSet(UserViewSet):
serializer_class = UserSerializer
pagination_class = PageNumberPagination
permission_classes = [permissions.IsAuthenticated]
def ...
1
vote
1
answer
54
views
How can I receive user input in Java in a single line in the console [closed]
I am attempting to make a simple text-based calculator application in Java. I am wondering if it would be possible to take input inline with a print statement. for instance, instead of getting an ...
0
votes
1
answer
28
views
How to Display Input and Output Like Online Compilers in VS Code?
When running my programs in VS Code terminal, the input and output are printed in the same terminal window.
But I want the input and output to be clearly separated, like in online compilers.
Eg:
(...
1
vote
1
answer
64
views
Comparing characters with user input
I am having a problem with comparing declared constants in the .data section with user variables in the .bss section, where I will store user input from syscall read.
They both are doublewords. Could ...