2,612 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for dimitrilc

## 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 …

2
225
Member Avatar for dimitrilc

## 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 …

2
127
Member Avatar for abu taher

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>' …

Member Avatar for mtyide
1
634
Member Avatar for gautamz07

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 …

Member Avatar for sourabh_8
1
957
Member Avatar for Vandiun

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 …

Member Avatar for Fifth Horseman
1
225
Member Avatar for Ashton21

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 …

Member Avatar for toneewa
1
182
Member Avatar for Austin_11

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++
Member Avatar for rproffitt
1
53
Member Avatar for najiawad0

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.

Member Avatar for NehaPande
0
723
Member Avatar for Stefce

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
Member Avatar for rproffitt
0
533
Member Avatar for vishnukumar

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 …

Member Avatar for NehaPande
0
375
Member Avatar for Shianne_1

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 …

Member Avatar for Reverend Jim
0
339
Member Avatar for michellepermsm

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 …

Member Avatar for rproffitt
0
333
Member Avatar for mtyide

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?

Member Avatar for rproffitt
0
331
Member Avatar for Ashton21

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.

Member Avatar for toneewa
0
307
Member Avatar for Braxy

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 …

Member Avatar for Schol-R-LEA
0
175
Member Avatar for Ant_426

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 …

Member Avatar for Amonza
0
166
Member Avatar for spg_gd

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 …

Member Avatar for spg_gd
0
162
Member Avatar for john.craig889

Hi! I need a web application for my business. Should I hire an agency or a freelancer? What's the better value? Thank you.

Member Avatar for Dani
0
153
Member Avatar for qhayiyamc

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
Member Avatar for Reverend Jim
0
107
Member Avatar for Programmer18

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
Member Avatar for JamesCherrill
0
97
Member Avatar for sweety8789
Member Avatar for Yolie_b

Write a program that converts temperature from degrees Fahrenheit to degrees Celsius .The formula is C = (5.0/9.0) (F-32)

Member Avatar for toneewa
-1
286
Member Avatar for kasmar45

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 …

Member Avatar for john_111
4
303
Member Avatar for NewAccount

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 …

Member Avatar for rproffitt
1
284
Member Avatar for Yolie_b

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

Member Avatar for rproffitt
1
122
Member Avatar for bdl365

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 = …

Member Avatar for Muhammad_331
0
2K
Member Avatar for pop_015

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

Member Avatar for Schol-R-LEA
0
825
Member Avatar for sankar2000

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 …

Member Avatar for rproffitt
0
300
Member Avatar for Bright_5

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
Member Avatar for Bright_5
0
86
Member Avatar for isyae

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++
Member Avatar for toneewa
0
84

The End.