181 Topics
| |
/** This code is supposed to take the user input of the length and breadth of the room in one class, get the user input of the material and cost from the other class and calculate the total cost.*/ import java.util.Scanner; //My first class class RoomFlooring { private String FloorMaterial; … | |
import java.util.Scanner; class Room_Dimension { private double length; private double width; public Room_Dimension(double length, double width) { this.length = length; this.width = width; } public void setLength(double length) { this.length = length; } public void setWidth(double width) { this.width = width; } public double getLength() { return length; } public … | |
Plz Help Me to Solve this Error.. I am coding this to build a Calcuator in Vb.net....i have declared "b" as a Button.. how to resolve this error.. plz help.. ![error.jpg](/attachments/large/4/bc99a90be607e68a81a81b5b7eed68b2.jpg) | |
First how this happened. The Nissan Leaf from about 2011 to mid 2015 on the SV and SL models included Telematics. Telematics in thse models let the owner use a web site or smart phone app to query battery status, start or stop charging and turn on/off the climate control … | |
A couple of days ago MS 10 Photos stopped functioning correctly. The first sign of this malfunction began several weeks ago when it started taking a vey long time to open and now I cannot scroll through photos backwards and forwards: there are no longer arrow indicators either side of … | |
Example: https://www.daniweb.com/programming/web-development/threads/518292/problem-in-php-showing-undefined-index-and-not-inserted-in-my-datasbase Click on one image and I get two tabs with the same image on both tabs. That's odd. | |
My geo-location was being displayed as Cambridge (I returned from there on Monday) so I told daniweb to update, which it did, except it now reported me as `Winnipeg, Manitoba - 3,897 miles away`. What am I 3,897 miles away from? Then, when I click on `Member Connect` it says … | |
I'm at https://www.daniweb.com/articles/latest/unanswered and when I mouse over the poster's gravatar or icon, all pop up with "First Post by" and the menber name. OK, that's all well and good but then I was curious to see all the posts were "First Post by". Even one by me! This is … | |
As title suggest, full screen edit happened in one of my replies. Could not exit with escape. Had to abandon the reply. Trying to replicate now. | |
If you visit the Member Search page, the hamburger navigation menu top left is missing. You have to go back to the home page instead. Is this intentional? | |
public class Gradesv2 { public static void main(String[ ] args) { //local variables int numTests = 0; //counts number of tests int testgGrades = 0; //individual test grade int totalPoints = 0; //total points for all test double average = 0.0; //average grade int test1 = 95; int test2 = … | |
Hi, I have a little problem with my PC. This 'America Megatrends' screen pops up unpredictably when playing/using my computer. Is there a way I can stop it from popping up? This all started 2 weeks ago while playing Fortnite and ever since, I have this screen showing everyday. I … | |
Hello, Daniweb -- I have a C++ library, for which I am trying to make a Python interface. I have come across a linking issue which I haven't been able to solve. The library has a series of header and source files, and I am looking for a way to … | |
I want to fetch invoice data from two tables table a is in single row and table b data should be multiple rows single data is fetching correctly but facing problem with table 2 multiple data fetch. php file <?php $connection= mysqli_connect("localhost","root","","invoice"); $invID = $_POST['ID']; $Invo = "SELECT a.in_no, a.client, … | |
I just posted a code snippet [here](https://www.daniweb.com/programming/code/515601/vbscript-implementation-of-quicksort) and noticed a couple of problems. 1. No matter how I try to fix it, the frst line refuses to display properly indented. 1. The few lines of code that I included in the top window, even though properly indented, refuse to display … | |
Hello, this morning my desktop was completely different. I used Malware Bytes and it found PUP.Optional.ASK. I removed the two files, restarted the computer and it's still there. Any ideas on how to completely remove it? | |
Dani/Blud - heads up that the newsletter editor doesn't appear to be sending the newsletter edits for checking. I've been editing the October issue all morning and hit the preview button a bunch of times, with no emailed version arriving at all. | |
I have to draw an n sided polygon using an isosceles triangle function. It should be only 3 lines inserted under def draw_pie(n, r). Can you help me figure out how? import math import turtle def draw_pie(n, r): """Draws a pie divided into radial segments. n: number of segments r: … | |
Saw some threads regarding this, but all from years ago, none since the new rollout, so here's a new thread. Checking out my profile, I saw that I had a downvoted post! Me! After crying for a few minutes, I click on the red "thumb down" icon to see which … | |
Hello everybody When you decide to search for something, your keywords appear in your head. You can choose from long keywords or short keywords depending on your choice. What do you think? Thanks everyone | |
I spent some 30 minutes or so writing up my question and upon submitting my question I was forced to create an account called Dahzz or something along those lines. And now my question that I just perfected for 30 minutes, is gone. Poof! Gone. Deleted. Doesn't exist anymore. It's … | |
Hi. After i'd tried this code to convert GSM to MP3, It was converted successfully but when i tried to play, there's no content. sox -t gsm -r 8000 -c 1 -e signed-integer 003533-dialer-Feb-01-2017-16-00-17-PM.WAV -t wav -e signed-integer 0017.wav file 0017.wav 0017.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 … | |
Hello. I have coem across a problem where both of my monitors are detecting as monitor 1. They arae also displaying the same exact picture and I cannot seem to fix it. I am using a Blackweb "HDMI Splitter 1 In 4 Out" splitter and nothing is working how it … | |
Title : Paypal's MPL library error on iPhone and Android Detail: We are usign Paypal's MPL library in our application and sometimes it keeps giving us an error "System unavilable please try again later". We tried to contact paypal for this issue but they are just keep saying that everything … | |
i get this error when i try executing it, no match for the operator == now i understand you can't compare a string with a char, so i tried other method like strcmp, covert a to char, but none worked. note: coverting d to string is not an option. #include … | |
I work in windows form in visual studio 2015 using c# Language And I need to generate data matrix to name and phone and address So that how to do that please using data matrix barcode 2d without using Commercial library Are there are any open source or free library … | |
Hello everyone, Does URL shortening effects the POST data in php? whenever we used it for using services like Bitly, Google URL Shortner etc. | |
OK, so in [this thread](https://www.daniweb.com/hardware-and-software/microsoft-windows/threads/507918/presentation-loads-with-error) I offered advice to visit the Microsoft troubleshooter here: https://support.microsoft.com/en-gb/help/927477/how-to-troubleshoot-a-damaged-presentation-in-powerpoint-2007-and-powerpoint-2010 and DaniWeb broke the link and struck a line through it to say it didn't exist, when it quite clearly does. It may well break again here, let's see. I suspect that DaniWeb isn't handling … | |
This week I have been seeing 'Oops, you don't have permission to post here' appearing a lot after I click submit - usually when replying to a post. I compose my reply, press submit, get the Oops message, hit back, my reply has gone and if I were a newbie … | |
// This program uses a switch-case statement to assign a //letter grade (A, B, C, D, or F) to a number test score. #include<iostream> using namespace std; int main() { char grade; int testScore = 10; cout << "Enter your test score and I will tell you\n"; cout << "the … |
The End.