Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
userinput
- Page 1
Re: How can I create a meme generator using js canvas?
Programming
Web Development
2 Months Ago
by jessicaboland
… = canvas.getContext('2d'); // User input and rendering const
userInput
= 'Your Text Here'; ctx.fillText(
userInput
, x, y); // Initial text rendering // Mouse interaction… ctx.clearRect(0, 0, canvas.width, canvas.height); ctx.fillText(
userInput
, x, y); });
Re: Using Or and And help with this segment
Programming
Software Development
12 Years Ago
by Adak
userinput
[2] ==
userinput
[2] ?? C'mon! ;) When you have a complex line of code, break it up into multiple lines of code, so each line of code is easier to understand, and debug.
Re: how can I check if a value already in a column, and if so, either NOT insert new valu
Programming
Web Development
15 Years Ago
by jakx12
… = mysql_query("SELECT * FROM example WHERE year='$
userinput
'") or die(mysql_error()); $total = mysql_num_rows( …($total == 0){ echo "The year " .$
userinput
." already exists!"; } else { mysql_query("…INSERT INTO example (year) VALUES('$
userinput
') ") or die(mysql_error()); echo "…
Re: How do I read a string in C++ ?
Programming
Software Development
11 Years Ago
by NathanOliver
userInput
was just a variable name i used. In your case you would want to use test instead of
userInput
if(test.find("open") && test.find("door"))
Need help making timer
Programming
Software Development
11 Years Ago
by idislikemacs
…: board[23] = ('x') board[25] = ('O') print_map() elif
userinput
== 'R': Reset() elif
userinput
== 'Q': Quit() else: print("User_Error: Please replace user…
Pascal Replacement Ruin
Programming
Computer Science
13 Years Ago
by prgmwitch
…],
USERINPUT
[10],
USERINPUT
[11],
USERINPUT
[12]); PARAGRAPH := CONCAT(PARAGRAPH,
USERINPUT
[13],
USERINPUT
[14],
USERINPUT
[15],
USERINPUT
[16],
USERINPUT
[17],
USERINPUT
[18]); PARAGRAPH := CONCAT(PARAGRAPH,
USERINPUT
[19],
USERINPUT
[20],
USERINPUT
[21],
USERINPUT
[22],
USERINPUT
[23],
USERINPUT
…
Database saving problem and windows forms
Programming
Software Development
15 Years Ago
by originaldaemon
…;>
userInput
; }while(
userInput
!= '1' &&
userInput
!= '2' &&
userInput
!= '3' &&
userInput
!= '4' &&
userInput
!= '5'); if (
userInput
== '1'){ addStation(); } if (
userInput
== '2…
I need help to make this code to run please!! hsa.Console
Programming
2 Years Ago
by Zirely
… 3!"); askData (); return; else if (
userInput
== 'e' ||
userInput
== 'E' ||
userInput
== 's' ||
userInput
== 'S') return; d.println ((selection = (
userInput
- '0') - 1) + 1); d.print ("…
Need Help with TicTacToe Java Program
Programming
Software Development
12 Years Ago
by Eragah
…) { while(!checkWin) { /*Quit Command*/ if(
userInput
.equalsIgnoreCase("Q")){ System.out.println("Thanks…quot;); System.exit(0); } /*Input Locations*/ if(
userInput
.equalsIgnoreCase("X-NW")) { NW = &…
Need help resolving errors for a simple program
Programming
Software Development
16 Years Ago
by thejunkie
… false; } public void AddRecord() throws Exception{ BufferedReader
userInput
=new BufferedReader(new InputStreamReader(System.in)); String name; int…-1; } public void DeleteRecord() throws Exception{ BufferedReader
userInput
=new BufferedReader(new InputStreamReader(System.in)); int tgt=0;…
Re: Need help resolving errors for a simple program
Programming
Software Development
16 Years Ago
by thejunkie
…); } } public int menu() throws Exception{ BufferedReader
userInput
=new BufferedReader (new InputStreamReader(System.in)); System.out.println…return false; } public void AddRecord() throws Exception{ BufferedReader
userInput
=new BufferedReader(new InputStreamReader(System.in)); String name; int …
Re: HELP: error c2059 syntax error 'constant'
Programming
Software Development
14 Years Ago
by Gaiety
…userInput3 == 'D'); { printf("%d / %d = %1d", sum =
userInput
/ userInput2); while (userInput3 == 'Q'); { printf("%d % %d = %d…", sum =
userInput
% userInput2); while (userInput3 == 0 ); { printf("Please Type eithor: A…
Program won't store integer from seperate file.
Programming
Software Development
14 Years Ago
by the_preface
…to buy? "); quantity =
userInput
.nextInt();
userInput
.nextLine(); data.addQty(idNum, quantity…to sell? "); quantity =
userInput
.nextInt();
userInput
.nextLine(); data.subQty(idNum, quantity);…
Python - if/or statements
Programming
Software Development
12 Years Ago
by layneb131
…X= 9 Y = 9 Z = 9 digit = ""
UserInput
= str(input("Enter a single letter, and I will… you what the correrponding digit on the telephone:")) if
UserInput
== A or B or C: digit = "2&…;The digit",digit,"corresponds to the letter",
UserInput
, "on the telephone.") else : print("…
HELP: error c2059 syntax error 'constant'
Programming
Software Development
14 Years Ago
by geoffy0404
…userInput3 == 'D'); { printf("%d / %d = %1d", sum =
userInput
/ userInput2); while (userInput3 == 'Q'); { printf("%d % %d = %d…", sum =
userInput
% userInput2); while (userInput3 == 0 ); { printf("Please Type eithor: A…
Searching an arraylist [HELP PLEASE]
Programming
Software Development
14 Years Ago
by TheStig01
…Policy Holder Postcode"); postcode =
userInput
.next(); Validation = checkPostcode(postcode); …of NCB years"); ncbyears =
userInput
.next(); Validation = checkNcbyears(ncbyears);…
Using Or and And help with this segment
Programming
Software Development
12 Years Ago
by jodzjcm
[CODE]while ((
userinput
[0]==
userinput
[1]||
userinput
[0]==
userinput
[2]||
userinput
[0]==
userinput
[3]||
userinput
[0]==
userinput
[4])&&(
userinput
[2]==
userinput
[1]||
userinput
[2]==
userinput
[2]||
userinput
[2]==
userinput
[3]||
userinput
[1]==
userinput
[3])) [/CODE…
Dynamic allocation in C
Programming
Software Development
11 Years Ago
by teachMyself
…"); exit (1); } createACopy(storeOldInputHere,
userInput
,inputLength); //store the old Input here because… us a different location altogether.
userInput
= (char *) realloc(
userInput
,inputLength+2); //now after we… string to the newly allocated space again.
userInput
[inputLength] = inputChar; //append the new …
Functions what am i doing wrong?
Programming
Software Development
13 Years Ago
by thomasekugm
…calcN,calcPNK; char *
userInput
;
userInput
= input(); eval = calculateEval(
userInput
); calcN = calculateN(
userInput
); calcPNK = calculatePNK(
userInput
); scanf("%*c"… "); fgets(
userInput
,bufSize,stdin); return
userInput
[bufSize]; } int calulateEval (char *){ char
userInput
[bufSize]; int varA…
Sorting Sequential File
Programming
Software Development
13 Years Ago
by triple_A
… "{0,-20} {1,4}" Dim
userInput
(4, 1), strName_Score(4, 1) As String…5's score." strName_Score(i, 0) = InputBox(
userInput
(i, 0), "Input Name") strName_Score(i…, 1) = InputBox(
userInput
(i, 1), "Input Score") Next '…
Re: Need Help with TicTacToe Java Program
Programming
Software Development
12 Years Ago
by Eragah
…; public class TicTacToeMain { public static void main(String args[]) { String
userInput
= ""; System.out.println("Looking at the Key…]public TicTacToeBoard(String input) { getBoard(input); } public void getBoard(String
userInput
) {[/code] now the program is stuck in a wiered repetitive…
help math.min method
Programming
Software Development
16 Years Ago
by codered152
…("Enter Quiz 5 score: ");
userInput
= SimpleIO.readLine(); double quiz5 = Convert.toDouble(
userInput
); SimpleIO.prompt("Enter Quiz 6 score…: ");
userInput
= SimpleIO.readLine(); double quiz6 = Convert.toDouble(
userInput
); double lowest_Quiz=Math.min(Math.min(quiz1…
Digital Circuit Simulator not working correctly
Programming
Software Development
15 Years Ago
by sciwizeh
…} } if ( ! found ) { selected = null ; boolean found2 = false ; for (
UserInput
ui : inputs ) { if ( ui.contains ( e.getX ( ) , e.getY ( …( ! found2 ) { selected2 = null ; } } } public void doLogic ( ) { for (
UserInput
ui : inputs ) { ui.fillList ( ) ; ui.changeInputs ( ) ; } for ( Gate gate…
Connect 4 game: how do I set a user specified grid size?
Programming
Software Development
14 Years Ago
by nessa203
…() elif
userInput
.isdigit():
userInput
= int(
userInput
) print "You went in column",
userInput
if (
userInput
>… number!" player1Go(grid) else: grid[
userInput
-1][0] = "o" …
Binary Search Help
Programming
Software Development
14 Years Ago
by gabec94
….out.println(array[j]); // } if (inArray(array,
userinput
) != -1) { System.out.println(
userinput
+ " is in the array!"); System.out…quot;); } } public static int /*boolean*/ inArray(int[] array, int
userinput
) { int count = 0; int low = 0; int high =…
Need help with beginners java program
Programming
Software Development
12 Years Ago
by hardsoft123
…do everything else thePrecautionInstance.mainLoop(); } void mainLoop() { String
userInput
= ""; // used to store user input System…word int characterIndex = 0; while (characterIndex <
userInput
.length()) { char currentLetter =
userInput
.charAt(characterIndex); System.out.print(currentLetter); characterIndex++; //…
cin not returning typed in value.
Programming
Software Development
11 Years Ago
by mike12255
… letter (i at zero) and making it a capital
userInput
[i] = toupper(
userInput
[i]); //if it is not the first letter then… makes every character except the first one lower
userInput
[i] = tolower(
userInput
[i]); } } return (
userInput
); } //write the definition for the middleInital variable string…
Phone Dialing Program
Programming
Software Development
8 Years Ago
by Brandon_11
…if (
userInput
.Length == 8) { digit1 =
userInput
[0]; digit2 =
userInput
[1]; digit3 =
userInput
[2]; digit4 =
userInput
[4]; digit5 =
userInput
[5]; digit6 =
userInput
[6]; digit7 =
userInput
[7…
Re: My first python program... Feedback please?
Programming
Software Development
14 Years Ago
by revellution
… constructing a', name, 'list!') def addNames(self): while True: self.
userInput
= input('Please type a name to add to the list….names), "\n") def delNames(self): while True: self.
userInput
= input('Type a name to delete off the list or…
Re: My first python program... Feedback please?
Programming
Software Development
14 Years Ago
by revellution
… are done...') while True:
userInput
= input('...') if
userInput
in 'qQ': break elif
userInput
in self.items: self.items.remove(
userInput
) else: print() print('***That…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC