2,720 Recommended Topics
Remove Filter | |
Need help with two classes "Cannonball Component" and "Cannonball" I couldn't figure out the code with the rest but. Feel free to look at code check : http://codecheck.it/codecheck/files?repo=bj4fp&problem=ch06/c06_exp_6_16 Programming java | |
Hi everyone I am wondering if someone can help me understand why the Sub-Query's SELECT statement ended up producing the column name 'Code' vs. the initial SELECT statment call 'local_name' in the below screenshot Thanks in advance! ![Query_SUB_QUERY_question_.png](https://static.daniweb.com/attachments/2/9db9bca69fea80f23ce39603536c5590.png) | |
Hello all I have a form with two datagridviews. Grid A is polulated with orders from DB, grib B has an empty table with the same column name as grid A. Im currently draging orders from Grid A onto grid B. My isue is that since grid B has only … | |
Easy tutorial: https://slicker.me/javascript/tower.htm | |
#include <iostream> using namespace std; int main () int charge, aftercharge, parking_hours; cout << "please put your parking hours: " ; cin >> parking_hours; if (parking_hours>=1) { charge = 1 ; } else if (parking_hours>=11) { charge = 2.50 ; } else if (parking_hours>=12) { charge = 6.00 ; } … | |
Count number of occurrences of a digit with while/do while without using array in c++ | |
I 'm building an application to store and retrieve books, but I have an issue with retrieving data from the db. I'm using REST and testing with postman. Everything works OK. Currently I have a series of methods written in Java at the backend like so @Override @POST @Path("/add") //@Produces("application/json") … | |
# What Are Voronoi Diagrams? # Voronoi Diagrams are an essential visualization to have in your toolbox. The diagram’s structure is a data-driven [tessellation](https://en.wikipedia.org/wiki/Tessellation) of a plane and may be colored by random or to add additional information. ## Learn the Lingo ## The set of points that generate the … | |
Write a Java application that calculates the number of repayments for a loan based on the initial loan amount, annual interest rate and monthly payment. The user enters these values and application uses a loop to display the balance each month after payment has been made. Note that interest is … | |
Hi there, I am trying to do an exercise from a C++ book. It goes: Develop a program that will move the knight around an empty chessboard. The chessboard is represented by an 8-by-8 two-dimensional array [ICODE]board[][][/ICODE]. Each of the squares is initialized to 0. We describe each of the … | |
this is my code for inserting records into my form which is in html file `Inline Code Example Here` <?php error_reporting(E_ALL ^ E_DEPRECATED); $connect=mysql_connect("localhost","root","") or die(mysql_error()); $db_select=mysql_select_db("employee",$connect) or die(mysql_error()); if (isset($_POST['id'])) $id=$_POST['id']; if (isset($_POST['name'])) $name=$_POST['name']; if (isset($_POST['gender'])) $gender=$_POST['gender']; if (isset($_POST['mobile'])) $mobile=$_POST['mobile']; if (isset($_POST['email'])) $email=$_POST['email']; $qry="insert into emp(id,name,gender,mobile,email) values ('$id','$name','$gender',$mobile,'$email')"; $result=mysql_query($qry) … | |
Hello and thanks for reading my post. I need help converting the fallowing Algorithm into working C++ code, and below is what i have come up with so far, what do i need to do to make this compile? Algorithm: PayCalc 1. CaseOf PayCode = "H" Pay = Rate * … | |
I tried alot to print this arrow with random generated values which are 0101 , every time it should be differnt, please help me out thanks :) ![Untitled1.png](/attachments/large/4/c843d1e3a2cf1464dc1f1eb7c0d4a68a.png) | |
I have written the following Tkinter script: When I run it, the first thing that happens is the File Dialog box opens without it being called. I am expecting the file dialog box only to open when the "Open Document" button is pressed. import tkinter as tk from tkinter import … | |
Hello I have created awhile ago in VS2017 an application [application A] with CR sp21 which works fine. Now Ihave another application [application B] created in vs2019 with CR sp29. When I install app B on the same pc where App A is installed the CR wont work so I … Programming vb.net | |
What is a “MIME type”, what does it consist of, and what is it used for? can anyone pls provide with example? | |
I have a project where I need users to be able to save their work, then at a later date select the session/data from their previous work and continue. I have completed all of the coding (and it works) to save the current session under their userid, and populates a … | |
I want to create a single login page for Admin and user.When admin lo it should go to seperate page and when user log it shoult go to seperate page.I want sample code for this.Thanks.. | |
[ATTACH=RIGHT]20145[/ATTACH][B]Building your first DYNAMIC Database application. This is Part One of a four part tutorial on how to install and use your database, Part Two will teach you how to build successful connections and Part Three will teach you how to build database interaction and management of your databases.[/B] There … | |
i want to know how to create qr cde in php | |
| Hey guys, I want to make a simple program which calculates speed, distance and time. This is the code I used: [CODE] a=input("1)Find speed\n2)Find distance\n3)Find time\n4)Quit\n") while a!=4: if a==1: d=input("\nEnter distance: ") t=input("Enter time: ") print ("Speed: "+str(d/t)+"\n") elif a==2: s=input("\nEnter speed: ") t=input("Enter time: ") print ("Distance :"+str(s*t)+"\n") … |
I would like to know what is the difference betn getchar(),getch(), and getche() functions and which should be used in which conditions. Thanks, comwizz. :confused: | |
I am trying to get user's information and show them in user's profile. And i found this query but it is in PDO and my work is in sqli here the query : if(isset($_SESSION['user'])){ $getuser=$con->prepare("SELECT * From users where username=?"); $getuser->execute(array($sessionuser)); Sinfo=$getuser->fetch(); And here the whole code <?php session_start(); $sessionuser=''; … | |
I have called Rest API using powershell function but i need to get date entry from all objects like english-and-wales, scotland , northern ireland. using this $list.'england-and-wales'.events.date i will get only england-and-wales details but remaining scotland, northern ireland date i am unable to fetch function Get-Holiday Invoke-RestMethod -Method Get -Uri … | |
Hello, I Have this website and I am trying to make the footprint smaller in text size. How to do so? http://gsa-constructionspecialist.com/home/vision-mission https://www.tinymce.com/docs/configure/content-formatting/#fontsize_formats This is the fontsize_formats in tiny mce. I already try to insert a new feature to change font size in tinymce and have not been successful yet. … | |
I have to convert a piece of C++ code to Python. Except I can't understand what it's doing. This is the code: [CODE]#include <iostream> using namespace std; int calculate(int values[], int size) { int answer = 0; for (int 1 =0; i< size; i +=1) } answer += values[1]; } … | |
This is my derivative function. This code works correctly but does not delete the constant term. It sets directly to 0 and writes to the result. how can i fix this? Thank you.. EX: Input: "-x^3-6x^2+ 4x+22" Output: “-3.0x^2 -12x +4.0 + 0.0” How can i delete this 0.0? struct … Programming c++ | |
Would anyone be able to help me, I am trying to make a C++ program which reads values from csv file and prints them(there are going to be three 4 rows, 3 columns). I want to know how can I add the rows (like the sum of the first row … | |
i want to unserialize? and display Array from my text field in db table. This is what i use to serialize on Insert statement. `$persons = serialize(array($paymentData['anArray']));` and this returns after var_dump `["persons"]=> string(104) "a:1:{i:0;a:2:{i:0;a:1:{s:5:"value";s:15:"Producer: Simon";}i:1;a:1:{s:5:"value";s:13:"Writer: Simon";}}}" ` Now the object that i return from Select statement is memberDetails $sql … |
The End.