2,612 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for BrundyBoy

Hello! This is my first time trying to use Java, and I was trying to learn something with the "Scanner userInput" and ".nextInt()". After I put a bit of code on, it showed me: Exception in thread "main" java.util.InputMismatchException at java.util.Scanner.throwFor(Unknown Source) at java.util.Scanner.next(Unknown Source) at java.util.Scanner.nextInt(Unknown Source) at java.util.Scanner.nextInt(Unknown …

Programming java
Member Avatar for JamesCherrill
0
244
Member Avatar for WaveOMutilation

Hi, A few years ago, me and a colleague built the below code as a tool for our team to automatically update the names on our saved files in line with the company records management policy. Now that policy has changed and I need to update the code, and unfortunately …

Programming visual-basic
0
147
Member Avatar for annya

First time iam working with this type of form, spend two days but nothing worked. last date to submitting my project was on tomorrow please help me iam not an expert. I have removed some filed for shorten the form, I want the attachment files (3 files) need to uploaded …

Programming php
0
136
Member Avatar for Vin vin

I made a JavaFX Discord Server for people who like to talk about JavaFX stuff, or need help with certain projects, I really like to work with java, especially with people who are working with JavaFX (: Here is the discord link: https://discord.gg/yZ3Y3Fd or https://discord.gg/AzFaNU

Member Avatar for Vin vin
1
918
Member Avatar for Oxiegen

Hi! It's been a while since I last posted here. I've just gotten started with Windows Service, and have created a sort of 24/7 service to update a database. But because it's my very first project (besides the tutorial one) I feel that I could use some assistance in checking …

Member Avatar for Paul.Esson
0
1K
Member Avatar for Paul.Esson

Does anyone know of a good SVG editor that allows you to easily edit the document in text as well as visually. I have been using Inkscape, but the XML viewer/editor component is less then ideal, plus it adds alot of crud to the resulting XML. I attempted SVG Editor …

Member Avatar for tinstaafl
0
912
Member Avatar for Vin vin

How do I make a cube in javafx that have 6 different textures on each side of the cube? The only way I know how to solve this, is by making 6 imageviews and give them each a specific coordinates that make them look like a cube. Is there a …

Member Avatar for Vin vin
0
2K
Member Avatar for ali john naqvi

How should i give space between my output numbers while i am storing them in an array ?Like if i ask user to enter numbers and one entered 12345 ,i want to display them as 1 2 3 4 5

Programming c++
Member Avatar for anand9796
0
523
Member Avatar for Daron_1

public class HashedClass{ int ticketNumber; // keyfield string purchaserName; Hashtable hashtable = new Hashtable(); insert(); fetch(); delete(); update(); } I started a pseudocode above, but I know it needs more work. Are there any resources that can help guide me to implementing my …

Member Avatar for Icetutor
0
398
Member Avatar for MagnusTheRed90

I am crafting a code generator for something, and I have encountered some things that I do not know yet. Excuse the scambled eggs in this code, but could you please tell me what a job is, and how to get it to run a stored procedure for me? I …

Programming asp.net java mssql mysql
Member Avatar for pritaeas
0
305
Member Avatar for 68thorby68

Hi, I am completing the checkout process on my shopping cart and am sending the payment details to my bank. I have sorted out all of the Cross Origin stuff and I'm receiving the expected resonse to my Payment form POST and puuting it into an iFrame (via forms target=responseiframe). …

Member Avatar for pritaeas
0
246
Member Avatar for Nick_31

Okay I was trying to get my Dynamic Array to resize when I append but it just seems to break and never increase the capacity that it can store. Anyone able to figure out where my problem is? #include "DynamicArray.h" #include <cstring> #include <iostream> DynamicArray::DynamicArray() : m_length(0), m_capacity(0), m_scaling_factor(2.0), m_data(nullptr) …

Programming c++
Member Avatar for tinstaafl
0
201
Member Avatar for Travis_4

<html> <head> <meta name="generator" content= "HTML Tidy for Windows (vers 25 March 2009), see www.w3.org"> <script type="text/javascript"> function person(name, age) { this.name = name; this.age = age; } var bucky = new person ("Bucky Roberts, 24"); var Taylor = new person (Taylor Swift, 20"); </script> </head> <body> <script type = …

Member Avatar for Purvi_1
0
186
Member Avatar for cthornval

In my html page, I have an external javascript code, that causes a modal to pop up when a project in my html class is clicked. the projects are specified through the li class attribute. I now wish to chance this, so the modal instead pops up when a span …

0
173
Member Avatar for Monira Masia

Let’s say you were developing a pretty standard marketing website for a business. Blog, services, contact, about us, you know the type! With no limitations from the client, what is your build stack? I’ve been developing sites and SPA’s for a a few years now on a variety of cms/Site …

Member Avatar for Dani
0
127
Member Avatar for Naveed_786

Hi, Good Evening to everyone! I am preparing one application facing some challenges, the scenrio is to send email when a user enter a complaint in the system to the assigned user the assigned user have email address already in the system the email notification should go to assigned user …

Member Avatar for tinstaafl
0
756
Member Avatar for Clouie Ckien

hi good day guys, i'm having a trouble with fetching the data i have a list of folder outside like in the picture below ![p1.png](/attachments/large/4/c49da0c2676b0f2d0f5d9acb7afc68bd.png) when i click the first folder the picture below shows the output it has duplicates ![p2.png](/attachments/large/4/9e1c201e5a2edfed6e83663b41116db6.png) i want to know what's the problem with my …

1
530
Member Avatar for Biiim

I've been working on a project using Morris JS and since there was no solution out there for the Y axis scaling that I could find I wanted to posted where I got. Note you will need [morris JS](https://morrisjs.github.io/morris.js/) & [Moment JS](https://momentjs.com/) to run it. You just need a div …

0
1K
Member Avatar for AntonyRayan

in javascript I got two dates. How to find the difference between two dates. var first = document.getElemetById("first_date").value; var last = document.getElemetById("last_date").value; the date format is mm/dd/yyyy(07/19/2015); how to find?

Member Avatar for Purvi_1
0
831
Member Avatar for SimonIoa

Hello i want to upload an audio file(.mp3). The file is uploaded on the folder, the value is inserted on the db (MySql) so far so good. But when i try to play the file on the uploads folder is says its corrupted or extension is wrong.the value is not …

0
818
Member Avatar for ppel123

Hi everyone, I am working on a project (just started) in PYTHON and I want to create a keylogger for 2 languages english and greek. For this I have created the below (it is under "construction") code. from pynput.keyboard import Key, Listener from langdetect import detect from pynput import keyboard …

Member Avatar for rproffitt
0
1K
Member Avatar for estherschindler
Member Avatar for wwwalker
0
441
Member Avatar for Solomaliar

Hi everybody, What tools should I consider for a new call centre? Suggest the essentials that are necessarily required for a Call Center to have.

Member Avatar for JamesCherrill
0
334
Member Avatar for photo123

I have 2 textboxes on a form that accept dates. I dont have a drop down box, I just let the user enter the date themselves. I then want to take the dates entered from those two boxes and figure out how many days apart they are. I'm not sure …

Programming c#
Member Avatar for pritaeas
0
289
Member Avatar for Phummanat

p=int(input("Enter money: ฿ ")) n=int(input("Enter price: -฿ ")) x=p-n print("Change is ฿",(x)) print("Bank 1000 =",(x//1000),('bill/bills')) print("Bank 500 =",(x%1000//500),('bill/bills')) print("Bank 100 =",(x%1000%500//100),('bill/bills')) print("Bank 50 =",(x%1000%500%100//50),('bill/bills')) print("Bank 20 =",(x%1000%500%100%50//20),('bill/bills')) print("Coin 10 =",(x%1000%500%100%50%20//10),('coin/coins')) print("Coin 5 =",(x%1000%500%100%50%20%10//5),('coin/coins')) print("Coin 2 =",(x%1000%500%100%50%20%10%5//2),('coin/coins')) print("Coin 1 =",(x%1000%500%100%50%20%10%5%2//1),('coin/coins')) q=x//1000 w=x%1000//500 e=x%1000%500//100 r=x%1000%500%100//50 t=x%1000%500%100%50//20 y=x%1000%500%100%50%20//10 u=x%1000%500%100%50%20%10//5 i=x%1000%500%100%50%20%10%5//2 o=x%1000%500%100%50%20%10%5%2//1 l=q+w+e+r+t+y+u+i+o print("all …

Programming java python
Member Avatar for wwwalker
0
229
Member Avatar for EJW2

Here's a c++ library snippet that could be useful for string formatting (sorry, can't find how to add code tags): #ifndef STRINGFORMAT_H #define STRINGFORMAT_H const char newln { '\n' }; const char tab { '\t' }; const char bs { '\b' }; const char apo { ''' }; const char …

Programming c++
Member Avatar for Reverend Jim
0
209
Member Avatar for Alexander_20

<?php class Post { private $user_obj; private $con; public function __construct($con, $user){ $this->con = $con; $this->user_obj = new User($con, $user); } public function submitPost($body, $user_to) { $body = strip_tags($body); $body = mysqli_real_escape_string($this->con, $body); $check_empty = preg_replace('/\s+/', '', $body); if($check_empty != "") { $date_added = date("Y-m-d H:i:s"); $added_by = $this->user_obj->getUsername(); if($user_to …

Programming php
Member Avatar for pritaeas
0
189
Member Avatar for nanakumi75

I am trying to get the usernames of users to appear in the url so that I can use $_GET['username'] to grab the username to create a link to the user's profile which can be viewed by any logged in user. So far I can only the logged in user's …

Programming php
Member Avatar for Dani
0
1K
Member Avatar for Xozz

Hi. I just installed Code Blocks. I want to just get started with programming. It seems that I have to configure Code Blocks therefore, setting up a compiler. How should this be done? Help Leon

Member Avatar for Xozz
0
1K
Member Avatar for nanakumi75

I have a long/register system working . Each user see their own profile details when they login. Now I want to users to see other users profile by clicking on a link to their profile. How do I do this? I need advice

Programming php session
0
767

The End.