861 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Atharva_2

I have a list of tuples where each tuple within the list contains 3 elements. 1. Is the year in 4 digits i.e 2014 2. Month in integer i.e from 1-12 3. And another integer value which is the number of months needed to be subtracted. So if the date …

Software Development python
Member Avatar for Reverend Jim
0
124
Member Avatar for Katara1

,can anyone help me to find what's the problem with this programming code! it's work so well !but there two methoods didn't work ((the max salary method and sum salary )) at (main)... Especially the output results . there's no errors \\ i have no idea how to solve it …

Software Development c++
Member Avatar for bdux
0
124
Member Avatar for shawinke

Hi all pls help me with the soln to this probelm, the catch is the interface (menu) needs to be Built in C++ as well. any suggestions would be of great help as well. thanks It is a system written using a structured programming language (e.g. C, Turbo C) that …

Software Development c++
Member Avatar for rproffitt
-1
3K
Member Avatar for janice_1

Hi i am getting the following error in a php program i am using PHP Warning: A non-numeric value encountered in xxxxxxx db_connect.php on line 60 // find age if(! function_exists('Age') ) { function Age($birthdate) { return date("Y") - substr(trim($birthdate),-4,4); //// THIS IS THE LINE FOR THE SAID ERROR } …

Software Development php
Member Avatar for Dani
0
250
Member Avatar for tian_1

hi,I'm trying write a AI calculator program on Python ,can help me how to start write this coding

Software Development python
Member Avatar for rproffitt
0
101
Member Avatar for pythonstudent28

Hello! I am creating a turtle code where I want to create multiple circles on a map. However, my turtle is currently coninuing to go around in a circle over and over again, and so the other circles cannot happen. Any help or advice will be greatly appreciated! Thanks! This …

Software Development python
Member Avatar for thinkingfield
0
278
Member Avatar for VIPER5646

Hi all I Have a CalendarvProject with a 3rd party Calendar control. the application was working fine untill I upgraded the Calendar Control . When I opened the solution two references were no longer availabe, so I had errors. One of the references was ExtremeCalenderControl the other AxXtremeCalendarControl. I was …

Software Development vb.net
Member Avatar for VIPER5646
0
180
Member Avatar for Gilbertsilva123

which code can i use to make enemy shoot at the player non stop and when the bullet catches the player the health decreases any kind of help i appreciate - pygame

Software Development python
Member Avatar for Gilbertsilva123
0
155
Member Avatar for Dipesh_6

Hi, This is my first time using vectors. I'm trying to print some data that is stored in a structure vector but whenever the code gets to printing the data which is in double loop it crashes. I have located the error but i am ensure how to resolve it. …

Software Development c c++
Member Avatar for tinstaafl
0
130
Member Avatar for kww228

I am doing a project that must convert each string in X to an integer and save it in the corresponding location in Y. A dollar sign is used to mark the end of a string. I have 90% of the code, but it only works for the first string …

Software Development assembly
Member Avatar for hamzah_3
0
12K
Member Avatar for Derkarol

Hi, guys i am trying to create a String in the Windows Registry to imput some nice Proxy Adress. But i failed to input the correct datatype. I do not have any problems with Type (DWORD)... But (REG_SZ) has not work. Can someone tell me how can i input in …

Software Development c++
Member Avatar for Derkarol
0
2K
Member Avatar for lendeaton

I have downloaded visual studio 19 and need advise on tutorial for beginers. I tried one tutorial and I think it was made for an older version of the program since it said things woul look a certain way but they did not.

Software Development first-post visual-studio
Member Avatar for tinstaafl
0
376
Member Avatar for Giselle_1

I need with with a section of my assignment where it asks to take four first attempt module results (i.e. all module average, ISM module average, number of compensentable failed credits and number of outright failed modules) as parameters and returns the degree classification (e.g. “distinction”, “merit”, “pass” or “fail”). …

Software Development java
Member Avatar for tinstaafl
0
336
Member Avatar for Shana_2

I'm new to Android Studio and Java and I'm trying to display a dynamic battery percentage on multiple activities, but it is only showing on the main screen. I am also trying to do the same thing with displaying time. I am trying to get it work with my second …

Software Development android-development java
Member Avatar for rproffitt
0
181
Member Avatar for Violet_82

Hi guys, I was trying to test a method which takes a user input, does something and then returns that input but I'm having some issues with it. I've attempted a few solutions, mostly described in SE, I will leaave them out of this post and discuss instead the one …

Software Development java
Member Avatar for Violet_82
0
3K
Member Avatar for Demetrius

[COLOR=Indigo]Hey I'm pretty new to C++. I'm taking a class on it now but I don't know how to make sounds in C++... I've done QBasic so I have a little programming background. I'm right now thinking of what to do for a program, and it largely depends on if …

Software Development c++ java
Member Avatar for k191376
0
15K
Member Avatar for Andrew_63

I'm doing a small antivirus software in VB.NET, which uses MD5 hashes to scan through the files from a computer. However, I noticed if I add more hashes into the text file which is used for the scan process, the form becomes unresponsive and crashes afterwards. I've tried doing this …

Software Development visual-basic
Member Avatar for Andrew_63
0
308
Member Avatar for Tonny_3

I want to create a triangle with Windows Form in Visual Studio (c# code). In Form1 I have 3 textboxes that the user enters the lengths of the sides of the triangle and 1 "Enter" button. When the button is pressed, Form2 is opened and a triangle is drawn when …

Software Development visual-studio
Member Avatar for rproffitt
-1
716
Member Avatar for ppel123

Hello everyone, I have a problem with my app when closing the gui-UI, that is developed in PyQt5. In my app I have 3 discrete threads and one of it using slot-signals for communicating with the gui. The problem I have is that when I close the gui, and the …

Software Development multithreading python
0
653
Member Avatar for TIffany_2

#include<iostream> #include<conio.h> //using namespace std; int main() { char name[30], pizza1[]="Chicken Fazita" ,pizza2[]="Chicken Bar BQ" ,pizza3[]="Peri Peri" ,pizza4[]="Creamy Max", roll1[]="Chicken Chatni Roll", roll2[]="Chicken Mayo Roll", roll3[]="Veg Roll With Fries",bur1[]="Zinger Burger",bur2[]="Chicken Burger",bur3[]="Beef Burger"; char sand1[]="Club Sandwich", sand2[]="Chicken Crispy Sandwich", sand3[]="Extream Veg Sandwich"; char bir1[]="Chicken Biryani", bir2[]="Prawn Biryani", bir3[]="Beef Biryani",gotostart ; int …

Software Development c++
Member Avatar for tinstaafl
0
473
Member Avatar for Andrew_62

When i run my code i get this error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: How do I fix this? this is my code so far: import java.awt.Font; import javax.swing.*; public class Program7 public static void showOutput(String output) { JTextArea jta = new JTextArea(output); jta.setFont(new Font("Consolas", Font.PLAIN, 60)); JOptionPane.showMessageDialog(null, jta); } …

Software Development java
Member Avatar for Dani
0
440
Member Avatar for JamesCherrill

Hi Guys. I'm getting bored, and so I'm looking at Python for a new challenge. I hoped to be able to use my Java NetBeans IDE to avoid an IDE learning curve, but it seems that NetBeans support for Python died years ago. So, all you Python gurus... what do …

Software Development ide macos python
Member Avatar for Reverend Jim
2
1K
Member Avatar for may5457

I keep getting CircleInformation.java:13: error: cannot find symbol float circumference = 2 * (PI * radiusF) ^![Screen_Shot_2020-04-20_at_2_19_38_PM.png](/attachments/large/4/dc19daf5031100026891115972a1d2a2.png)

Software Development java
Member Avatar for JamesCherrill
0
706
Member Avatar for littlepr

Guys, What is wrong with my compution here when "hrs" entered is 45? The end result expected si 498.75 but it keeps failing to compute second portion correctly (please see below and attached screenshot). hrs = input("Enter Hours:") h = float(hrs) OvrTimehrs = float(hrs) - float(40) HourlyRate = input("Enter Hourly …

Software Development python
Member Avatar for Reverend Jim
0
503
Member Avatar for cqx9

I'm looking for a way to attach listener to a C# variable, so that every time its updated or read, it will execute a function which will go on and process their own variables. I know of the means described below but I'm looking for something that would work like …

Software Development
Member Avatar for cqx9
0
461
Member Avatar for SoftBa

Hi, I have one form with multiple reading data (using BindingSource) and I want to store those data + some text entry to third table (also using BindingSource DataGrid) Is it possoble to do that using sql statement ? I have connection to database. Picture is to show what I …

Software Development
Member Avatar for SoftBa
0
278
Member Avatar for ppel123

Hi everyone, I am working on an app and trying to create a corrector and I am using keyboard module for the correction. I have created a class, which reads pressed events and displays them to screen, and its action are dependent to a variable passed to the constructor. If …

Software Development multithreading python
Member Avatar for Dani
1
973
Member Avatar for Jorge_19

hello, I need to add items in the 'ide' element, so that it looks like the example below saving in XML (thank you!). The example I need: `<ide> <cUF>43</cUF> <cCT>00000004</cCT> <CFOP>6353</CFOP>... </ide>` In the current situation, Im getting only `<cUF>:` <?xml version="1.0" encoding="UTF-8"?> <CTe xmlns="http://www.portalfiscal.inf.br/cte"> <infCte versao="3.00" Id="CTe43120178408960000182570010000000041000000047"> <ide><cUF>43</cUF></ide> </infCte> …

Software Development php
Member Avatar for Dani
1
573
Member Avatar for DrakeDemon

Most of us think of magic links when we hear "passwordless", but I'm trying out a different approach. What if we require our users to SEND an email for authenticating? I've been experimenting with this idea recently and actually got around to building a prototype. This system will work as …

Software Development
Member Avatar for DrakeDemon
1
528
Member Avatar for Tcll

Sorry for the lousy title, "InterProcess Communication" was too long Basically, I'm looking to use the native `_winapi` and `msvcrt` modules to launch an integrated python interpreter and communicate with it over pipes I can't find anything on Google or DDG, and I've been searching for days, but nobody uses …

Software Development python
Member Avatar for Tcll
0
2K

The End.