199,114 Archived Topics

Remove Filter
Member Avatar for
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
334
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
735
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
177
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
386
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
330
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
108
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
343
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
840
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
304
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
85
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 queue
Member Avatar for Bright_5
0
90
Member Avatar for Felonely

I am new here. I passionately need the help of python gurus here to help solve this my statistics analytics problem. I want to write a python code that prompts for an imput. Then saves the new input data into a table of numbers at the last position while it …

Member Avatar for rproffitt
0
79
Member Avatar for TECH COFEE

from tkinter import * app = Tk() label1_text = StringVar() part_label = Label(app, bg='#dfe3ee', text='Check1', font=('bold',12), pady=10, padx=20) part_label.grid(row=0, column=0, sticky=W) label1_entry = Entry(app, textvariable=label1_text) label1_entry.grid(row=0, column=1) label2_text = StringVar() part_label = Label(app, bg='#dfe3ee', text='Check1', font=('bold', 12), pady=7, padx=20) part_label.grid(row=1, column=0, sticky=W) label2_entry = Entry(app, textvariable=label2_text) label2_entry.grid(row=1, column=1) label3_text = …

Programming python tkinter
Member Avatar for zentraders
0
48
Member Avatar for badmullah_1

hi I need your help if you know JS to fetch 3 values //value of JID2 input //value of slider //value of the NOTES but since JS is new to me i would need your help please. it is a form with a few controls that user can check , …

0
117
Member Avatar for moroccanplaya

hi im using tkinter and have a scroll bar that works with my text widget but its so small i dont know why ?? [CODE] scroll = tkinter.Scrollbar(content,borderwidth=50) Text = tkinter.Text(content,wrap=CHAR, width=50, height=20) scroll.config(command=Text.yview) Text.config(yscrollcommand=scroll.set) Text.grid(row=2, column=1,columnspan=1, rowspan=3, sticky=(N)) scroll.grid(row=2,column=3) [/CODE]

Member Avatar for TECH COFEE
0
2K
Member Avatar for isyae

i already done the scores for each round, i dont know how to calculate the scores for all round, can u help me to solve this? #include <iostream> #include <cstring> #include <fstream> #include <iomanip> #include <ctime> #include <cstdlib> using namespace std; //Global variable const string cardfile=("cards.txt"); //Function Prototypes void readCards(); …

Programming c++
Member Avatar for isyae
0
57
Member Avatar for Ethan_145

I'm making a game in Python, where two armies battle each other. The soldiers both spray arrows at each other. But for **each** soldier, there is a 1 in 15,000 chance every frame them firing. One thing I noticed was the FPS dropped from 60 to less than 3. Both …

Programming python
Member Avatar for toneewa
0
522
Member Avatar for N_765

public class Clock { private int newHour; private int newMinutes; private int newSeconds; public Clock () { } public Clock (int newHour, int newMinutes, int newSeconds) { this.newHour = newHour; this.newMinutes = newMinutes; this.newSeconds = newSeconds; } public int getNewHour(int newHour){ return this.newHour; } public int getNewMinutes (int newMinutes){ return …

Member Avatar for zemiak
0
75
Member Avatar for Vmr_574

hello, i hope someone can help me i have a table ip in my database if there is 5 times in it he has to forward it in php to another page. thanks in advance

Member Avatar for Dani
0
297
Member Avatar for gabbigrdn

Hi, would anybody be king enough to assist me in completing this assignment? A local bank is attempting to digitize a few of its services and operations. In an effort to have a seamless transition for their customers – from a physical environment to an online environment. You have been …

Member Avatar for jwenting
0
219
Member Avatar for Ant_426

Hi. I have a local installation of SQLite3 and PHP which runs a small in house PHP application so sql injection is not an issue. I am able to execute the following: if(isset($_GET['deletequote'])) { $qno = $_GET['deletequote']; echo $qno;?><br><?php // for testing $db = new SQLite3('./fi_data.db') or die('Cannot delete quote. …

Member Avatar for Ant_426
0
497
Member Avatar for Clinton_3

I'd like to start learning how to program. I have limited skills in SQL and DOS. I need to learn how to code in a proprietary language that is similar to VB. How do I get started? What's a good code bootcamp recommendation? VB, SQL, C++

Programming c++ sql xml
Member Avatar for pritaeas
0
53
Member Avatar for isyae

how to solve no 2 problem? i dont know how to do that, someone please help me :( ![Screenshot_(146).png](https://static.daniweb.com/attachments/4/f137f737ff1b4a1f20895f08f9246695.png)

Programming c++
Member Avatar for isyae
0
101
Member Avatar for lewashby

I've recently gotten my first ID job as a PHP programmer but one of the tasks that bites my is JS/jQuery, I don't know JS/jQuery but now i'm having to use it. I'm taking a course on udemy.com but I'm having issues, sometimes the code executes and sometimes noting happens …

Member Avatar for Dani
0
276
Member Avatar for chenbaoqing
Member Avatar for vasanthij91

Hi … wen I launch turbo c window for the first time it opens only status window… can someone help me on tis

Member Avatar for stevenbc
0
108
Member Avatar for Amelia5068

Hello, I'm trying to make a login code for my game algorithm but it isn't working as I want it to so can someone help to stop my loops from repeating when I don't want it to please? ``` def login(): username = input("Enter username: ") password = input("Enter password: …

Member Avatar for Schol-R-LEA
0
112
Member Avatar for zebnoon

Hye there I have to create a Report which get Get Data from Forms controls.Please help with any simple example. thx

Member Avatar for kelvinmunyui814
0
2K
Member Avatar for rahull.singh098

The term SQL stands for Structured Query Language, it's a programming language that's used to update and communicate with the database. SQL skills are indispensable and are in demand as with the boost in technology, data is piling up. And, In today's world this data has become a necessity for …

Programming mssql mysql sql
Member Avatar for pritaeas
0
98
Member Avatar for Divyansh_5

I am new to PHP and I need some help in the below code. The below code is working fine but I need to add a "Functionality to be added in the below code, so that if any New File is uploaded it should auto increment in a series. For …

Member Avatar for gce517
0
165
Member Avatar for pritaeas

How would I know if an e-mail originates from Office 365? I know I can look at the oldest `Received` header of a message to see where it originates from, but how would I use that header value to know it was sent from an Office 365 account? It looks …

Programming
Member Avatar for pritaeas
0
62
Member Avatar for Wafflez

Hello, May I know why the frame pops up double when I call it? Thank You! Login.java (line 63); import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.FileReader; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JTextField; public class Login{ JFrame frame = new JFrame(); JButton loginButton = …

Programming java java-swing oracle
Member Avatar for JamesCherrill
0
46
Member Avatar for 3cats

I have read some threads on this warning and I understand what the warning is and there have been suggestion on how to get around the warning, but how do you code it correctly not to get the error? In my class we are studing namespace,typedef, string functions the assignment …

Member Avatar for Mahim_1
0
2K
Member Avatar for kaykayandcoffee

I need help on how to calculate the total work hours in a 12 hour format. I have a database that has the columns for the time in and time out as well as the total hours. Try If txtSCANRFID.Text = "" Then Else reloadtxt("SELECT * FROM students WHERE RFIDNumber= …

Member Avatar for Schol-R-LEA
0
132
Member Avatar for Wafflez

I want to open JFrame (created from NetBeans) using the java class, but the JFrame is not showing up. I run the code from Eclipse. Here my class: (line 67) import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.util.Scanner; import javax.swing.JButton; …

Member Avatar for Wafflez
0
103
Member Avatar for Wafflez

I'm trying to get a text at the customer.txt to validate if the customer has already registered Here is my code: import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.util.Scanner; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPasswordField; import …

Member Avatar for Wafflez
0
106
Member Avatar for Tomi1988

Hi! I am not too expert in C++ programming. I created a class (Pig), then I created an object (Jack the Pig). In the function Kill, I call the destructor, but it doesnt't "kill" (destroy) my Jack the Pig, because in the next line, I can feed him. So my …

Member Avatar for S_915
0
5K
Member Avatar for jwatson

I am looking for a tool for create CSV flat files for my eBay abd Alibaba stores. Can anyone please guide me for a best solution? Thanks

Member Avatar for pritaeas
0
53
Member Avatar for fx.eko

Hi everyone I have a problem when I run the vb.net program on VS2010 the following error appears: Error while trying to run project: Unable to start program 'G:\TREEVIEW_uc_cr\bin\debug\Treeview_UC.exe' Please help in solving this problem. Thank for advance

Member Avatar for rproffitt
0
242
Member Avatar for Mr.M

Hi DW. Anyone who knows how can I achieve this? `List<String> dynamic[i];` The reason why I need this is that I'm creating a dynamic list with nested lists so there's no fixed number of data the list can be, this is inside the `for` statement which receive the json data …

Member Avatar for Mr.M
0
185
Member Avatar for mihailbog245

I don't get what's the problem with this Dictionary created using Arraylist and Socket . I get SocketException error I don't know why also I tried to created a method to read.... ClientCode: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.util.Scanner; import java.net.SocketException; public class Client …

Member Avatar for JamesCherrill
0
162
Member Avatar for Reverend Jim

My son uses Anaconda so I thought I'd install it so we could collaborate. I downloaded and installed the latest version. When I ran Anaconda Navigator, the first thing it told me was "there is a new version available". That's when I started having misgivings, but I downloaded and installed …

Programming daniweb-bug github python
Member Avatar for Reverend Jim
0
110
Member Avatar for kamaid

Hi, I'm new here and pretty new to c++ and programming in general. During one of my first excercises I tried to work with classes but I don't know how to output an class object in another class. Here is my Code with the text in [] (Circle.cpp) where I'm …

Programming c
Member Avatar for Schol-R-LEA
0
85
Member Avatar for Aisha_sg

hey I'm beginner learning php have hard time to Insert data to product in database with image because the category I did make it work but now I need to update data the same style that I add it with the Insert Code: <?php include('./pro_crud/config.php'); $sql_cat = "SELECT * FROM …

0
274
Member Avatar for FarrisFahad

I have a couple of scripts from the same template but different version. I am using php and mysql. I need to know how to update the mysql database and the script from version 1 to version 2 with a single click.

Member Avatar for Dan Fredeinburg
0
104
Member Avatar for Mercy254

Create a program that displays the result of a sales transaction. The calculation requires three numbers. The first number represents the product price. The second number is the salesperson commission. These two numbers should be added together. The third value represents a customer discount; subtract this third from the result …

Programming c++
Member Avatar for Reverend Jim
0
66
Member Avatar for Khadiiijah

So I'm new to programming and currently, I'm creating a school project with Visual Basic and .NET, I know that I might either have a problem with formatting or converting or assigning a value(which I don't know how to do) but whatever I try the multiplied result always gives me …

Programming vb.net visual-basic
Member Avatar for rproffitt
0
99
Member Avatar for Chris_70

Disclaimer: this is a project work. I might be having issues with the follow but here is what I am doing: push changes to github travils builds image and pushes to docker AWS EKS pulls the image and starts container now my issue is the following variable is undefined: const …

Member Avatar for pavanbits1990
0
58
Member Avatar for palak231

Hi this is Palak, I am in third year of my engineering and my interest and strength is python, to enhance my skills into next level I need more study in this field therefore I want to know which python course will be best for me to enhance my skills …

Programming engineering python
Member Avatar for Reverend Jim
0
137

The End.