199,114 Archived Topics
Remove Filter ![]() | |
1. FCFS non-preemptive (results provided) 2. SJF non-preemptive 3. MLFQ | |
I got two dropdowns in each product in my cart. When i select my both option my class on success is not updating the cost. It only updates when i refresh the page, i dont want to refresh my page to get the cost. this is my script... $(document).ready(function() { … | |
Hi guys how am I able to get the days difference of my textbox which contains date and multiply it by 10 after getting the days difference then show in my textbox penalty. Somebody pls help me! I am using vb.net Programming vb.net | |
I wrote and run this code in Windows, in DEV C++ but I am keep getting a Segmentation fault on Ubuntu's terminal when I try to run this program. Here is my whole code. #include<iostream> #include<string> #include<fstream> #include<cmath> using namespace std; int Str2NumByAscii(const string& str); // convert string to number … | |
Hello everyone..I am a newbie in DANIWEB..I really need your help guys regarding the topic i stated in the title..I am trying to create a payroll system..The system will get the data from the database, compute the NET and GROSS SALARY then afterwards save it back to the database.It is … | |
i have a project that uses third party websites, urls and images and i am getting about 10.000 ERRORS on the console errors like: dmp.214...e1b7.js (γραμμή 3) SoundCloud Embed Player (api-web) widget-...d738.js (γραμμή 5) Exception: Error: Permission denied to access property "href" widget-...d738.js (γραμμή 5) Object { resource_id="f-2", attributes={...}, _escapedAttributes={...}, … Programming api web-browser | |
Hello everyone, I need to open mdf file but I can't install SQL server. Please advise how to view data in sql mdf file? Thanks in advance, Richard | |
here's my code: #include <iostream> #include <iomanip> using namespace std; int main() { char name[30], choice; int hours_worked; float wage; do { cout << "Employee Name: "; cin.getline(name,30); cout << "No of hours worked: "; cin>>hours_worked; cout << endl; wage = 80.75*hours_worked; cout << "The salary of " << name … Programming c++ | |
![]() | Hi, I am working on a blackjack game as a person learning swift. Due to my need to learn the basics of swift before jumping into learning how the view controllers and other mobile-app specific details work, I am making this game in a playground. I wrote a function that … ![]() |
I am quite new to JS and AJAX and I am having a hard time understanding what the other person has implemented and how I can get it to function properly. this is my login CI code that is working perfectly, but now i want to do it with ajax … | |
There is one application where two radio buttons are available.i.e default and custom. If custom is selected then one panel will be visible which contain available drives list of not selected checkbox which are generated based on list but while i am doing such things it generate checkbox many time … | |
Sir I have this query and result [IMG]http://i66.tinypic.com/4r7oee.jpg[/IMG] Now I want to modify query to get result like this [IMG]http://i65.tinypic.com/11aihzs.png[/IMG] Please help | |
this is the response i get (1045, "Access denied for user 'point3hu_leo'@'197.253.66.85' (using password: YES)") Press any key to continue . . . from pony.orm import * db = Database() db.bind('mysql',host= 'poin.com',user='pointeo', password = 'lxxxx',db = 'poi_data') | |
Hello , I have this: #include <iostream> #include <cstdio> #include <cstdlib> #include <vector> using namespace std; typedef struct { float x; float y; Point *next; } Point; int main() { Point *thePoints = new Point[2]; thePoints[0].x = 2; thePoints[0].y = 3; thePoints[1].x = 4; thePoints[1].y = 5; (thePoints[0])->next= 11; cout … | |
Hi All, I below code snippet I have been using diff-2 structure with same variable due to having different -2 default values for the variable (var) in current implementation for both the structure a and b. This way i need to create 17 structure with same variable (var) but different … | |
Hello DaniWeb Community, I'm a beginner Java programmer. The LoanTableTester contains the main method and the LoanTable is a class separate from the LoanTableTester class. May I please have help with a cannot find symbol - variable mortgage error? I wrote the methods for calculating the c, monthly payments, number … | |
All, I have a odd scenerio which I'm looking to resolve - what is the best way in CGI/PERL to detect the referring page - as depending on if the referring page is from http://www.mysites.com/wholesale - I need to display a button on the page that when clicked will be … | |
** edit http post i need to remove courses stored in ids variable note i need remove courses selected not edit** in jquery i store values of removed courses in ids variable suppose i removed photoshop and flash it will store value of 3,4 in ids variable below code when … | |
Write a program that prints a table of Celsius temperatures from 0 to 20 degrees and prints the corresponding temperature in Fahrenheit. This program MUST use a loop. The first digit in each temperature must line up with the first digit of the temperatures above it so the output forms … Programming python | |
I have two dropdowns where ajax gets the value from it and send to my page calculates.php and then i will get a result based on both dropdown selection. But its not working well. The problem is that im getting a error that is saying **Notice: Undefined index: icms in … | |
from Tkinter import * from ttk import Style class Example(Frame): def __init__(self, parent): Frame.__init__(self, parent, background="#333") self.parent = parent self.parent.title("sample") self.parent.iconbitmap('sample.ico') self.pack(fill=BOTH, expand=1) self.centerWindow() self.initUI() def centerWindow(self): w = 500 h = 450 sw = self.parent.winfo_screenwidth() sh = self.parent.winfo_screenheight() x = (sw - w)/2 y = (sh - h)/2 self.parent.geometry('%dx%d+%d+%d' … | |
Write a program that prompts the user for a value for i and displays the e value, and this is all i have so far. I was told it's suppose to have two for loops but i'm not sure where and how to do it and i know my output … Programming c++ | |
Hi, I just need a little help here. I have no experience in syncronization of databases of any type and I think I need it in my project now. I developed a CATV (Cable TV) Billing Software in VB.Net for all cable system branches of our company and I use … Programming mysql vb.net web-server | |
Hi have a question,why i do not get value output for FutureValue,do i use in the wrong place in Main method calculateFutureValue() ? package sd4.dobs.ui; import java.util.Scanner; public class Console { private static Scanner sc = new Scanner(System.in); public static void displayLine() { System.out.println(); } public static void displayLine(String s) … | |
I'm trying to get the text value from a select dropdown menu that is populated by a database using the following function: <?php function searchintspokenlang() { require ('../../../connect_db.php'); $queryintspoken="SELECT Language FROM languages"; $result=mysqli_query($dbc, $queryintspoken); while ($row = mysqli_fetch_array($result)) { echo "<option value='" . $row['Language'] . "'>" . $row['Language'] . "</option>"; … | |
does anyone know how to do the program that are more or less like peteranswers?? This is the website which has been using to trick people... [URL="http://www.peteranswers.com/"]http://www.peteranswers.com/[/URL] and this is the secret : [URL="http://chriswondra.com/2007/02/21/peter-answers-the-secret/"]http://chriswondra.com/2007/02/21/peter-answers-the-secret/[/URL] i'm just wondering if i'm capable to do just a simple program that is similar like … | |
All, I have a .mov file and am wondering what is the best way to have this autoplay so that users don't have to hit the play button while viewing on a IPhone device. I tried utilizing the ac_quicktime.js script as such (I went to the ac_quicktime.js - a few … | |
Hi, I have a column "statustime" in a table , which has values( like,10:24:10 PM,12:04:00 AM) with mixed of AM and PM . I want to display the other values by "statustime" in ASC . How to do? | |
Guys i'm trying to get data joined from two tables. I have a select options dropdowns with Fabrics names the other has sizes. I am wondering how i will make my dropdown changes the values for each fabric in each size and multiply for the amount of fabric selected. this … | |
i am getting error Not Found The requested URL /home was not found on this server. please overview my code here . specially main functions are servePage and displayPage . <?php /** * Copyright 2009 - 2011 Color Shift, Inc. * * @package Luminance v4.0 * * This class handles … | |
Hello i would like to invite all who like to take risks and like to build something new, i'm building a project and i can say its complete about 90% BUT i'm not experienced too much to finish the project by my self, so i need HELP from someone who … | |
I had question about vb.net. I know normally this is simple. But in this case it's dificult. Let me explain this. I had three forms. Form1 is mdi parent form. Others 2 parent forms are child forms which named form2 and form3. I want to send form3 text box value … | |
I have a notepad that consist of two data which is the title and the name. I've declared the title using an enum. The enum contain this variables. enum Title {Miss, Mrs, Mr, Dr, Unknown}; Then in my structure, I attempted to call the variables from the enum like this … | |
Please review my new site https://flitlance.com What do you think about the colors and the layout of the site??? Is it pleasing to the eye? Do you have any suggestions about how it looks or the content of the site. All suggestions will be greatly appreciated. ![]() | |
i am able to populate data in chain select drop down list but the problem is when page is refreshing selected data is lost how to fix that .. here is the code.. <?php require_once 'include/config.php'; require_once 'include/opendb.php'; ?> <?php if(isset($_POST['model'])){ //This is for the third and final drop down … ![]() | |
Hi all i have couple jsp pages and java class as follows below.Can you help me with the session on the handleForm .jsp As this page supposed to show all info entered by the user in the form.I did manage to display session object in thanks,jsp But have now a … | |
Hello, I'm totally new to programming and wanted to make a text-based game based on what I know, but I've met a problem I don't know how to fix. Also this code is not finished, I'm just trying to get it to work first. Basically, I want the loop to … | |
I find answer for this question from internet and also here. Some got some help from here. But it doesn't worked 100% fo my situation. So let me describe all things detailed. This is about three forms. To our easy understand I'll named those Form1,Form2,Form3. Only Form1 is MDI parent. … | |
So I'm maing a 3D game editor in Java using LWJGL (Lightweight Java Game Library), I have the editor set up so that the user can create new levels, load up saved levels, save and quick save current levels, import textured models etc.. the basics. I am now trying to … | |
Im currently doing an application which is when user plugged in usb drive, login form will pop up so user need to login first but if user failed login for three times, webcam will automatically capture. The problem here, **how to make the webcam to automatically capture after user failed … | |
Hi Daniweb, I noticed that [this website](http://bit.ly/2d0tjQn) first loads the lists before it gets its css mark-up. Is there a way to prevent this from happening? Thanks a lot! | |
Im working on this analyzer program that reads input from a file and breaks characters into various tables. Ive got the output pretty much done, except there's an issue with some of it, and Im pretty sure its due to the input problem. so heres what the input looks like … Programming file-stream | |
Ikd what the error is telling me as when it compiles, no red lines appear. Plz help me >_< ! thanx in advance #include "stdafx.h" #include <iostream> #include <stdlib.h> using namespace std; #include "Shapes.h" #include "ShapeFeatures.h" int main() cout << "\n\n\n"; return 0; } //Shapes.h #pragma once class Shapes { … | |
Hi, a) I need to display list of ItemName, ItemLocation in a table row with a check box in the left-most column. b) User can select multiple jobs and on clicking "Submit" button I should pass the selected ItemName and ItemLocation to a fuction in java. I am able to … ![]() | |
im having a bit of trouble using the object i add to my arraylist. i used this as my reference: [url]http://www.java2s.com/Tutorial/CSharp/0220__Data-Structure/ArrayListandyourownobjectAddobjectstoArrayList.htm[/url] [CODE] import java.util.ArrayList; public class TestArrayList { public static void main(String[] args) { Object item1 = new ObjectMaker(); Object item2 = new ObjectMaker(); Object item3 = new ObjectMaker(); ArrayList<Object> … | |
I got this problem while trying to disable or enable ports. It works well when Im using my friend's laptop but when I tried using my laptop, it give this error. Why was this happen and how to solve it? Thanks ^^ Private Sub DisableBtn_Click(ByVal sender As System.Object, ByVal e … | |
Hi Guys! i need some help, with recurring invoices or payments. I have Application which i developed recently to my customer. And inside of App i got a module to invoice clients, for a product, which this product is valid only for one year starting may for each year and … ![]() | |
hey everyone. I need you experties help to the correct this login form code. After the best effort I find this code. But it occur one error. Before the explain error I'll describe how this work. This login form check user name and password from the mysql database. After Normaliy … | |
I'm trying to make an interactive calculator to solve the volume of a sphere. The thing is that I can't seem to make the program let the user input their own number for example, What if the user wants to the number four as the radius? Here is what I … | |
I'm guessing the error lies in the writeBinary function where I open the file everytime I write into it. I am not sure how to create the file and have it not overwrite the existing data. My code results into reading 3, 3, 3 instead of 1,2,3. #include <string> #include … |
The End.