2,720 Recommended Topics
Remove Filter | |
Develop an interactive java program to count the number of student who score grade A, B, C and D based on the list of marks given by a user. Display the number of students for each grade. Add in the feature to repeat or exit the program. Hint: Input Teachers … Programming java javascript | |
I have the below file that opens a pdf and puts some text at the top. This is working fine. But what i want to do now is replace mypdf.pdf with the results of a mysql query. Similar to this: `$pageCount = $pdf->setSourceFile('../folder/folder/$mypdf');` and `$pdf->Write(0, '$sampletext');` Each person going to … | |
I create the product's information and variations with Ajax, but it is not possible to click on the variations, what could be the reason? <form> <div class="form-group"> <p class="mb-5"> Size: <strong><span id="sizeCaption">--</span> US</strong> </p> <div id="item_variation_size" class="mb-2"></div> <div class="form-row mb-7"> <div class="col-12 col-lg"> <button type="button" class="btn btn-block btn-dark mb-2 addToCart">Add … | |
Anyone can find a piece of code, cut and paste it. That's fine, as I do it. But I need to know the flow of how things work. Is there a short para that can explain it? Thanks | |
Hey, so I'm still very new at programming/coding and for fun, I wanna make some sort of script. For a offline fighting game. So let's say I press one key, it does one combo? does that make any sense? I just wouldn't know how to go about that is there … Programming c c++ javascript | |
Hey, I'm searching for a simple 2-level popup menu that could change color and size with the help of CSS. I want the menu to appear on the left of the page, be opened by clicking on the burger icon, and be closed by clicking the cross or someplace outside … | |
Hello everyone! I am writing a program for the birthday paradox that runs trials 10,000 times. I want to show that when N people are in a room, there is a 50% chance that there will be a duplicate birthday. I want to create an empty set, then add to … | |
## Introduction ## When working with a Room database, we are mostly restricted to save data using primitives (*and boxed primitives*). Reference types are not supported right out of the box, but can be enabled by creating additional [TypeConverter](https://developer.android.com/reference/androidx/room/TypeConverter). If you are familiar with ORM-light frameworks such as Spring JDBC, … | |
## Introduction ## MediaPlayer (`android.media.MediaPlayer`) is a popular way to play media files, and combining it with a SeekBar can greatly improve the user experience. In this tutorial, we will learn how to synchronize a MediaPlayer progress to a SeekBar position. ## Goals ## At the end of the tutorial, … | |
## Introduction ## In this tutorial, we will learn how to add swipe-to-remove and drag-to-reorder functionalities into RecyclerView. ## Goals ## At the end of the tutorial, you would have learned: 1. How to add swipe-to-remove and drag-to-reorder functionality to a RecyclerView. ## Tools Required ## 1. Android Studio. The … | |
![Screen_Shot_2022-02-18_at_19_31_27.jpg](https://static.daniweb.com/attachments/0/9d7516d5e671e13eb3a629920d7e4e35.jpg) I'm trying to make a form all in one line instead of over multiple lines/height. It can be seen on https://grapefruit-crocodile-hdl3.squarespace.com/ (pwd: contagency) It's supposed to look the attached image, any pointers appreciated. I've got this far, so far: form { display: flex; } .form-item.field.email, .form-item.field.select, .form-button-wrapper.field.submit { display: … | |
Im am new to node.js and get the mentioned error in server.js file. I am trying to introduce a gantt diagramm with dhtmlx library. I am using Node v16.13.1 and IntelliJ 2021.3 Below are my code snippets. Index.xhtml: <!DOCTYPE html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>QuickInfo extension</title> <script src="https://cdn.dhtmlx.com/gantt/edge/dhtmlxgantt.js"></script> <link … Programming javascript mysql node.js | |
Hey, I own a site that has two versions - mobile and desktop. I’ve implemented Schema.org to the desktop version of the site. Should I add it on the mobile site as well? What do you think? | |
Hi DW. I want to get a message only on that specific targeted tab id. If the messege is sent to tab id 2, it should run a script under tab id 2 to update that page displayed or for simplicity log on tab id 2 console the message. The … | |
Hello all, I've searched a lot and found a bunch of answers and edited my comparison many many times, but just cannot get a sorted output. Here is my struct typedef struct sortedDistance { int storeID; int zipCode; double latitude; double longitude; double distance; char address[50]; char city[50]; char state[20]; … | |
C++ program that displays on the screen item codes with corresponding item descriptions and prices. It asks the user to enter the code of the item purchased by a customer. It looks for a match of the item code stored in items.txt. How to read a specific line from a … | |
Trying to show divs and elements when a session doesn't exist. But when I save an item to a cart/wish-list a session starts and goes back to a page that is now supposed to show the item info and hide <td id="cartHideBtn">...</td>. //shows when no session exists, but also needs … | |
I do not know why when I compile it, on why does the last cylinder file print out multiple times int tags1 and tags2. I bolded them so you would see what I am talking about. Could someone please help me out? [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> … | |
Hi I have a `.Net Core Blazor` server project and I'm making use of the Repository pattern for data access. Initially, I had registered the repository as a scoped service. While testing I noticed that if I quickly switched pages for e.g. by clicking on the navigation menu, while the … | |
Display instruction for the respondents to answer the survey using function displayInstruction(). -------------------------------------------------------------------------- |Survey of Student's Perception on Online Learning in Kolej Seri Sarawak | -------------------------------------------------------------------------- Dear Respondents, You are invited to answer this survey. Please respond to the following questions that corresponds to your response. The survey is divided … | |
Hello! I'm working on this linked list project where I'm supposed to save the employee data in a linked list and apply some operations. and I am new with c++ so I'll show you my code and please help me with it. my questions are: 1- whenever I enter a … | |
Hi I'm using European payment provider which is providing me API to communicate with them. There is a step where I need to ask from a buyer credit card info (number, expiration and CVV) so I can pass that info to that payment gateway via API. Is that even allowed? … | |
What is great about Amazon is that there is no one way to start an Amazon business. From the business model you choose the products you decide to sell, there are many ways to succeed on the platform. However, the steps required to get up and running on Amazon remain … | |
statement: write a code in which user first select what type calculator they want to use. Simple or scientific and on that basis they do the calculations. I have written the following code but it is not running. I am unable to figure out the problem. Please anybody help!! #include … | |
as an game engine dev i created an console graphics engine to create blazing graphics contains lighting and shadows and draw algorithms and the for loop for my 3D part was running slow and no flicker but slowly generates the walls and everything and when i update the frame again … | |
line 5: Declaration syntax error line 59: function containing do are not expanded inline line 153: function containing while are not expanded inline line 218: declaration terminated incorrectly Programming c++ | |
I'm using Visual Studio 2017. After installing Productivity Power Tools 2017/2019 extension, I can't use the copy operation. The first time I try to copy a line or block of code after installing the extension, Visual Studio generates an error saying: > "Type library exporter encountered an error while processing … | |
I just dropped in and found something useful. But the java-code had to be extendet. So I would like to share the result. How to contribute code to the diskussion in: https://www.daniweb.com/programming/software-development/threads/332664/adding-multiple-images-to-jpanel-for-dragging-and-dropping-purposes#post2275496 Or is it closed by now. | |
Write a program that converts pounds into kilograms. The program prompts the user to enter a number in pounds, converts it to kilograms, and displays the result. One pound is 0.454 kilograms. Here is a sample run: | |
| HELP! We are a volunteer-driven not-for-profit offering motorcycle safety training and skill development with a huge database issue as described below. We cannot identify any of our volunteers that can tackle our database issue...here it is, can you volunteer your time to help us? We would be glad to hear … |
The End.