3,045 Recommended Topics

Remove Filter
Member Avatar for
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
63
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
57
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
44
Member Avatar for Dani

I just racked my brain for the past hour trying to fix a bug, and learned something new in the process. I always thought that the jQuery function `.data('key')` was a wrapper for `.attr('data-key')`. It turns out that's not the case! Take the example: `<div data-key="foo">`: I can use `data('key', …

Member Avatar for Dani
7
264
Member Avatar for martin5211

FPDF is a class that provides a useful way to deal with PDF documents using dynamic content. Sometimes, according to a special circumstance, also would be valuable to send directly the PDF as attachment e.g. send an invoice automatically after processing a payment. In this example we use a html …

Member Avatar for Dani
0
22K
Member Avatar for dimitrilc

## Introduction ## When working with Espresso tests, you might have found it hard to make Espresso wait for background tasks to complete before performing other actions or assertions. Fortunately, the classes in the Espresso **idling** package exist to cover this use case. In this tutorial, we will learn how …

1
459
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to load data asynchronously into a **ListAdapter** (*a subclass of **RecyclerView.Adapter***). ## Goals ## At the end of the tutorial, you would have learned: 1. How to serve asynchronous data to a **ListAdapter**. ## Tools Required ## 1. Android Studio. …

1
296
Member Avatar for Yacine Si Tayeb

# Introduction # As we move into 2022, businesses will continue to look for ways to become more data-driven. This means that knowing how to use Structured Query Language, commonly called SQL or 'Sequel', will remain an essential skill for data scientists, analysts, and developers. In this post, we'll provide …

1
104
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to filter and validate Intents fired from the application under test. ## Goals ## At the end of the tutorial, you would have learned: 1. How to filter and validate Intents in Espresso tests. ## Tools Required ## 1. Android …

1
67
Member Avatar for Logang

I am using the code below to populate the DataGridView. I need help in that the Barcode Image is not being generated according to the txtLab.text amd the alphamumeric value. Please see attached image. Thanks Private Sub btnAdd_Click(sender As System.Object, e As System.EventArgs) Handles btnAdd.Click Dim alphaNumeric As String = …

Member Avatar for rproffitt
1
56
Member Avatar for Vmr_574

Hello all, I have a question I have a list view in eg and there are songs in it now I want when I click on a button that he plays all the music in succession but I can't get that done can someone send me an example? Thank you

Member Avatar for rproffitt
1
55
Member Avatar for LevelSix

I'm trying to create two car objects, that move across the frame, in opposite directions, at different heights so they don't collide. This type of programming is new to me, and after following the only example I'm provided with, I still can't get this to work. All the code I …

Member Avatar for Rosayu
0
3K
Member Avatar for Bhavi_1

Unable to execute the VB.Net code even can't view in Print Preview after clicked. Anyone there to help me. I'm new to VB.Net. Imports System.Drawing.Imaging 'Imports IDAutomation.Windows.Forms.LinearBarCode Imports System.Drawing.Printing Imports System.Configuration 'Imports GenCode128 Imports System.Data.SqlClient Public Class Form1 Dim table2 As New DataTable Dim dte = Date.Now() Dim PrintDoc As …

Programming vb.net visual-basic-6
Member Avatar for Bhavi_1
0
173
Member Avatar for TimTheCoder

Hey guys is there a way to intercept shut down to make the user enter password if the state is in the locked state? Its just that I am engineering an anti-theft app and would to disable shut down from lock screen while the device is in the locked state. …

Member Avatar for TimTheCoder
0
78
Member Avatar for Wee_396

the codes has to include for and while loops. ![pt_2.png](https://static.daniweb.com/attachments/4/9b458f568973a3531e003a18bd1fac3c.png) ![pt_1.png](https://static.daniweb.com/attachments/4/8dbeaea58f539d123c2f49dcce4872c6.png)

Member Avatar for Reverend Jim
0
77
Member Avatar for LZS_405

.model small .stack 100h .data Spc db 0dh,0ah, " $" ;New Line ;Bases Conversion ConT db 0dh,0ah, " Conversion $" ;Conversion Title ConBs3 db 0dh,0ah, "Base 3 to Base 5 " db 0dh,0ah,0dh,0ah, "Base 3 [00 to 22] : $" ;Enter Base 03 Number EqBs3 db 0dh,0ah, "Base 5 Equivalent …

Member Avatar for rproffitt
0
75
Member Avatar for althaf_3

Write a Program to Delete an Integer from an Array of random numbers? Please reply anyone

Member Avatar for Dani
0
67
Member Avatar for katara11

hello everyone , i have a code for selection sort and i wanna modify it to give me a running time , any help?

Member Avatar for Dani
0
57
Member Avatar for Safa_2

Hello I create project based on c# , and i make roles like admin and users , so that i want to give special premission to users to perfom tasks . if anyone know how i can make or write this code , please help me . and in advance …

Programming sql vb.net
Member Avatar for pritaeas
0
41
Member Avatar for सुभाष

P PR PRO PROG PROGR PROGRA PROGRAM ROGRAM OGRAM GRAM RAM AM M

Programming c++
Member Avatar for rproffitt
0
36
Member Avatar for Khairunnisa_2

I need to do c++ programming without using array and function.please help me.i attach file below.

Programming c++
Member Avatar for Hanyin
1
281
Member Avatar for dimitrilc

## Introduction ## On the android platform, widgets provide a quick way to interact with your Apps. They are extremely useful at providing quick information without the user launching the app Activities themselves. Common use cases for homescreen widgets are weather, email, or banking information. In this tutorial, we will …

2
208
Member Avatar for dimitrilc

## Introduction ## When working with Room, you might have run into a situation where you only want to update specific fields of an entity instead of replacing the entire row. In this tutorial, we will learn how to do this in two different ways. ## Goals ## At the …

2
2K
Member Avatar for dimitrilc

## Introduction ## Starting from Android 10 (*API 29*), Android places many restrictions on how apps can launch activities from the background. There are a couple of exemptions, which can be found on this [list](https://developer.android.com/guide/components/activities/background-starts#exceptions). At the end of the list is the usage of the *dangerous* permission `SYSTEM_ALERT_WINDOW`. I …

1
158
Member Avatar for Yazeed_2

> This is the code for reading from a txt file, but creating a code for writing into a txt file that goes along with this reading code is pretty difficult and am looking for any ideas that can help me in implementing this using linked list along with txt …

Programming c++
Member Avatar for rproffitt
1
113
Member Avatar for 민성

Picture box picture control is not working using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApp3 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } Color a0; Color a1; Color a2; Color a3; private ColorDialog …

Member Avatar for pritaeas
0
59
Member Avatar for Amira_9

Hi All, I need help to understand hoe does this find() works in the case of, find Total occurrences of a substring. This is my assignment question. [Thread 1]

Programming python
Member Avatar for rproffitt
0
55
Member Avatar for Zahra_19

How to be the next Pubg maker! Learn Game Development now We all know how fun it is to play games in our leisure time and we enjoy it to a certain point but just imagine this; A specific type of game that you always wanted to play but you …

Member Avatar for Ismail_19
0
47
Member Avatar for syscore

i know i am missing something simple but i need to have My console output be displayed in a webpage with express and ejs i am getting the UDP in my Console . can anyone help me out. thank you // Javascript import express from "express"; import dgram from "dgram"; …

Member Avatar for rproffitt
0
43
Member Avatar for larry29936

The following code works without errors on my local server but when I put it up on my hosted website, I get a "Failed - Network Error" message immediately. The way this works is that a button is pressed on a download page to select what file to download. Here's …

Member Avatar for Dani
0
419

The End.