2,612 Recommended Topics
Remove Filter | |
## Introduction ## When following tutorials on Daniweb, you might have run into one that requires knowledge about **Dependency Injection** as a prerequisite. People might also sometimes use the term **Inversion of Control** interchangeably with DI. These terms are related to one another, but they are not the same. In … | |
## Introduction ## Java annotations are often used to provide extra information for compilers, IDEs, and build tools. The extra information is often used to enhance the development cycle, such as reducing boilerplate, eliminating repetitive code, or warning against unsafe usage or mistakes. This tutorial aims to teach you the … | |
I want to make a pdf file in php. I write code like this: <?php require_once __DIR__ . '/vendor/autoload.php'; include('conn.php'); $res = mysqli_query($conn, "select * from smash"); if (mysqli_num_rows($res) > 0) { $html = '<table>'; $html = '<tr><td>ID</td><td>Name</td><td>FatherName</td><td>Address</td><td>Phone</td><td>Class</td><td>Qualification</td><td>Branch</td><td>rollno</td></tr>'; while ($row = mysqli_fetch_assoc($res)) { $html .= '<tr><td>' . $row['id'] . '</td><td>' … | |
Which declaration of the main method below would allow a class to be started as a standalone program. Select the one correct answer. public static int main(char args[]) public static void main(String args[]) public static void MAIN(String args[]) public static void main(String args) public static void main(char args[]) WHAT IS … | |
I was working on an infix to postfix program (using stacks), but something went wrong somewhere. Please check whether my intopost technique is right because I am getting the output as infix without conversion. //stack class also containing the intopostfix method import java.util.*; public class Stack { int i,j; char … | |
The purpose of the program is to tell the user that the weekly salary is in on of three ranges, less than 200, between 200 and 800 and greater than 800. I need help knowing the error/s and need to add and use one additional preprocessor directive that might help … | |
Need help, been stuck on this the past couple days i dont really understand how to get my code to read from my file and count each occurence of a letter wheter they are uppr or lower case and output them to a file, just need help with the counting … Programming c++ | |
I'm 11 years old and I'm absouloutly LOVE programming. I'm learning C++, but I heard that C++ is used for creating games. Where can I learn game development online for free. | |
I am looking for an software/script that can generate high trust score browsers, i am using [this GitHub project](https://abrahamjuliot.github.io/creepjs/) to see the info about the browser and the score. I have tried to create few different projects using ZennoPoster, BAS, Undetectable, ATB. They all create with trust score: F- Someone … Programming web-browser | |
Good morning to all. I am Vishnu Kumar, MS (Software Engineering) graduate, fresher, 2012 passed out. And i am another one in your way with a dream to develop a game. I had gone through plenty of articles and topics (pinned in this forum too) but i find that, basic … | |
I need help with this problem! I can't get all three to display. Write a program that prompts a user to enter their hourly pay and rate. Understanding that "time and a half" applies to hours in excess of forty, calculate and print the user's regular pay, overtime pay, and … | |
I am working for a client that uses a tag for the different manufacturers of their products. Each product will only have one manufacturer tag. On their collections page, they have a sidebar that shows all the Manufacturer names with a {{ tag | link_to_add_tag: tag }} URL. Now the … | |
I need to get a set of results from the db (server) but at times I would get the same result back and I would like to cache the result instead of making the same call to the db. Any ideas? | |
Write a return function called averageFourTemperatures that accepts 4 integers in the parameter list, returns the average. In the main function prompt the user for 4 temperatures and them in separate appropriately named variables. Call the averageFourTemperatures, passing values and printing the returned average to the console. | |
Jaluh is making a room inventory in the Hostel where she is working. They have 16 rooms labelled as A-P. She is doing this manually that it will consume more time. Make a program that will automatically be identified if the room is taken or not. An array code.. ANYONE … | |
| Hi. Hoping someone can explain this to me please. $quantity = $_POST['quantity']; echo "<pre> -- quantity -- "; print_r($quantity); echo "</pre>"; This returns: -- quantity --Array ( [0] => [1] => [2] => [3] => 2 [4] => [5] => [6] => ) $selectitem = $_POST['selectitem']; echo "<pre> -- selectitem … |
I have a table with the below sample output. uid atime adate A_in_out 11 8:16 14/05/2014 I 11 13:35 14/05/2014 I 11 17:23 14/05/2014 I 11 21:09 14/05/2014 I 12 14:06 14/05/2014 I 12 22:39 14/05/2014 I 13 8:00 14/05/2014 I 13 17:12 14/05/2014 I I want to build a … | |
Hi! I need a web application for my business. Should I hire an agency or a freelancer? What's the better value? Thank you. | |
You must write a small application in JAVA for items and their prices. Your program must: 1. Create an array of item names. Use the following item names: Bread, Milk, Butter, Chips, Honey, Soap, Towel, Carrots, Beans, Samp, Dress, Pants, Shoes, Socks. 2. Create an array of item prices. Use … Programming java javascript | |
So I have a method which takes upto 4 hours to execute. I need to stop this method within the first 30 mins of execution and have the available results upto that 30 mins of time only. Can someone help me with this? I have tried many things to terminate … Programming java | |
i am unable solve the error in my program Programming c | |
Write a program that converts temperature from degrees Fahrenheit to degrees Celsius .The formula is C = (5.0/9.0) (F-32) | |
Yes I finally decided to continue on with my programming efforts. I would like to be able to refer to myself as a master programmer, but I may not have that much time, after all I am almost 80 years old. Right now I'm delving into C++ and finding it … | |
Hello everyone, I wrote data arrays at the end of the exe with delimiter. After I compiled, the app it didn't work on Chinese Windows, only on English, I want to configure the app to work on Chinese windows as well, I know it will work if I change the … | |
Write a program that prompts the user to input a four - digit positive integer.The program then outputs the digits of the number one digit per line | |
I am having difficulties writing the program. the program should ask user for a positive integer and print a factorial table. for example - Give me a positive integer: 5 1! = 1 = 1 2! = 2 x 1 = 2 3! = 3 x 2 x 1 = … | |
image not showing in customtkinter :( i dont know why its not working i think its cuse of its in Function code : https://www.toptal.com/developers/hastebin/manaxujufu.py https://i.stack.imgur.com/c5X9r.png | |
I am building a ipv4/ipv6 geo ip **MongoDB** database and i will have millions (100+) of ips Structure will of the database will be [ { _id: 58fdbf5c0ef8a50b4cdd9a8e , ip: '34.53.63.25', ip_hex: '0x22353f19' , type: "ipv4", data : [ { country : "CA", region : "region1" city : "city1", blacklisted … | |
Hi guys, i am new here. Been on this code for some days and i seem stuck and not getting the expected output from this code. first the code functions as a FIFO QUEUE where it takes input from the user and put it at the beginning of a list … Programming python | |
hi guys, i dont know why when i run the code, its shows my txt is not found, here i attached the txt.file and the coding :) i just follow the coding in the example that lecturer given, but yeah as i mentioned before, the txt cannot be found :( … Programming c++ |
The End.