842 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Jon_4

Hi. I'm trying to convert my python file into pseudo code but I have no idea of how pseudo code work. continueAnswer = input("Please enter either continue to carry on with the program or end to stop it: ") continueAnswer=continueAnswer.upper() while continueAnswer == 'C': while True: try: print('') encodeORdecode = …

Software Development python
Member Avatar for Suman_19
0
23K
Member Avatar for Kate_12

am doing a project with I/O and structs. My text file is below. I need to make my program store each string in a different part of the array of structs I have created. I am having a problem making it separate them in the array when it senses a …

Software Development c++
Member Avatar for rproffitt
0
64
Member Avatar for dubadub

The pandemic has presented everyone with unique challenges. For me, it became particularly hard to switch to online grocery shopping. When I do my shopping offline, I usually don’t have to plan much, moving through the isles and picking up stuff as I go. It’s rare that I forget something, …

Software Development
Member Avatar for jwenting
1
339
Member Avatar for Mr.M

Hi DW. Is there anyone who know how I can I develop an App that's like TeamView for Android so that I will be able to remotely access the phone via browser on my website? What I want to do is that instead of directly accessing the phone I want …

Member Avatar for rproffitt
1
97
Member Avatar for eazy_man

Hi Guys Im looking for someone who can translate this c++ code to pseudocode . [CODE]#include <algorithm> #include <cctype> #include <functional> #include <string> bool palindrome( unsigned long n ) { unsigned long x = n; unsigned long u = 0; while (x) { u *= 10; u += x % …

Software Development c++
Member Avatar for Koushik_3
-4
17K
Member Avatar for humbug

i have made a program in school that chooses a random number and you need to guess it. you put in a number and it says higher or lower. the only problem is that i can't set RAND_MAX and its a 4 or 5 diget number (havent figured it out …

Software Development c++
Member Avatar for yw_046
2
30K
Member Avatar for lukwagomedia

Hello everyone! I working on a social network alike page whare I want to implement a messaging system. I can do all that and I have it working. What I want is, when I get two or more messages from someone. I only want to display the lates message from …

Software Development mysql php
Member Avatar for Dani
0
120
Member Avatar for mc8888

hi everyone...I need help on solving this question... Create a SavingAccount class. Use a static data member to contain the annualInterestRate for each of the saver. Each member of the class contains a private data member savingsBalance indicating the amount the saver currently has on deposit. Provide a calculateMonthlyInterest member …

Software Development c++
Member Avatar for Zain_12
0
6K
Member Avatar for fx.eko

hi everyone can you give an example of coding in vb.net vs2010 how to make a report in crystal report 2013 with sub report thanks for advanced

Software Development vb.net visual-basic
Member Avatar for xrjf
0
305
Member Avatar for razstec

Hi, im trying to set a radio and youtube playlist player my code works with radio and single youtube link but with playlist it says that the link is unrecognized, can somoene help? import os from os import path from random import randrange from tkinter.ttk import Combobox import pafy import …

Software Development python streaming-service
Member Avatar for razstec
0
175
Member Avatar for COKEDUDE

I was looking at this struct tutorial. https://www.tutorialspoint.com/cprogramming/c_structures.htm It mentions "The structure tag is optional". How would you refer to your struct if there is no structure tag? struct { char title[50]; char author[50]; char subject[100]; int book_id; }; //something like this? struct random_name;

Software Development c
Member Avatar for Schol-R-LEA
0
68
Member Avatar for مبشر

//Basic libraries #include <stdio.h> #include <stdlib.h> #include <string.h> #include <conio.h> #include <stdbool.h> #include <time.h> #define Empty 0 #define P1 1 #define P2 2 #define Height 6 #define Width 7 int board[Height][Width]; char gamestr[41]; void show_game_list(){ //Open game file for reading FILE * fp; char * line = NULL; size_t len …

Software Development c c++
Member Avatar for Fifth Horseman
0
105
Member Avatar for aouinasara77

hello everyone , please can anyone help me !! I have a list of keywords i used TextRank algorithme, and i have list of all words ,I want to combine Adjacent kaywords into a multi-word keyword depending on their position in the list of all words with java. For exemple …

Software Development java
Member Avatar for JamesCherrill
0
56
Member Avatar for EmiLynn

First, my apologies, I couldn't tag this as kotlin and I figured Java was the next closest thing. This is homework, I'm not looking for someone to do it for me, just a little help. So the first thing is that I've got a sealed interface with some subclasses (all …

Software Development java
Member Avatar for dimitrilc
0
55
Member Avatar for Realitiez

i'm trying to create a program that calculates Body mass index in a for loop with 5kg gaps. BMI formula is: weight(kg)/height(meters squared) = BMI. How would this work? this is the code i got so far: Console.Write("Write your height in meters: "); double t1 = double.Parse(Console.ReadLine()); Console.Clear(); Console.Write("Write starting …

Software Development c#
Member Avatar for Rawand_2
0
2K
Member Avatar for SCBWV

Has anyone experienced the function Windows SystemParametersInfo reporting a different display resolution after returning from sleep mode? My display is 3840X2160, which the SystemParametersInfo reports accurately. However, upon returning from sleep mode, SystemParametersInfo gives a resolution of 2560x1392, which doesn't match any configuration in the Windows Registry under Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers. The …

Software Development display windows-11
Member Avatar for rproffitt
2
390
Member Avatar for LianaN

Hi! I'm trying to improve a code shown below. My idea is to add multiple images to JPanel. It sounds like an easy task, but all my attempts failed so far. I tried to create [ICODE]Image image2 = getToolkit().getImage(Drag1.class.getResource("cross_cursor.gif"));[/ICODE] and then [ICODE]bi2 = new BufferedImage(image2.getWidth(this), image2.getHeight(this)...);[/ICODE]. But I can see …

Software Development java
Member Avatar for ivy.inc.Hugh
1
2K
Member Avatar for Crona

I have a homework assignment that im not really sure how to approach as of right now, I've done some research but. I have not found really anything that would pertain to what I'm doing. Any help would be appreciated <3 . So far this is what I have: /****************************************************************************** …

Software Development c c++ java microsoft python
Member Avatar for DGPickett
0
277
Member Avatar for Arkilem

Hi ! I'm using Visual Studio 2017 to do a windows form app, and I have an issue with labels and images. I'm trying to create a label that contains an arrow image (left arrow), but when the label is clicked on the arrow image has to change for the …

Software Development image vb.net visual-basic visual-studio
Member Avatar for Reverend Jim
0
231
Member Avatar for moosh101

Hello everyone! I am writing a program for the birthday paradox that runs trials 10,000 times. I want to show that when N people are in a room, there is a 50% chance that there will be a duplicate birthday. I want to create an empty set, then add to …

Software Development java
Member Avatar for toneewa
3
566
Member Avatar for Matthew_36

Hello all, I've searched a lot and found a bunch of answers and edited my comparison many many times, but just cannot get a sorted output. Here is my struct typedef struct sortedDistance { int storeID; int zipCode; double latitude; double longitude; double distance; char address[50]; char city[50]; char state[20]; …

Software Development c
Member Avatar for vmanes
0
900
Member Avatar for plang007

I do not know why when I compile it, on why does the last cylinder file print out multiple times int tags1 and tags2. I bolded them so you would see what I am talking about. Could someone please help me out? [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> …

Software Development c++
Member Avatar for toneewa
0
257
Member Avatar for Clif40RD

Hi I have a `.Net Core Blazor` server project and I'm making use of the Repository pattern for data access. Initially, I had registered the repository as a scoped service. While testing I noticed that if I quickly switched pages for e.g. by clicking on the navigation menu, while the …

Software Development asp.net c#
Member Avatar for rproffitt
0
203
Member Avatar for Bitclu

What is great about Amazon is that there is no one way to start an Amazon business. From the business model you choose the products you decide to sell, there are many ways to succeed on the platform. However, the steps required to get up and running on Amazon remain …

Software Development microsoft-access
Member Avatar for casderasd
0
101
Member Avatar for priyamtheone

I'm using Visual Studio 2017. After installing Productivity Power Tools 2017/2019 extension, I can't use the copy operation. The first time I try to copy a line or block of code after installing the extension, Visual Studio generates an error saying: > "Type library exporter encountered an error while processing …

Software Development visual-studio
Member Avatar for priyamtheone
0
72
Member Avatar for java_marvin

I just dropped in and found something useful. But the java-code had to be extendet. So I would like to share the result. How to contribute code to the diskussion in: https://www.daniweb.com/programming/software-development/threads/332664/adding-multiple-images-to-jpanel-for-dragging-and-dropping-purposes#post2275496 Or is it closed by now.

Software Development java
Member Avatar for Dani
0
69
Member Avatar for sprongklong

Write a program that converts pounds into kilograms. The program prompts the user to enter a number in pounds, converts it to kilograms, and displays the result. One pound is 0.454 kilograms. Here is a sample run:

Software Development c++
Member Avatar for toneewa
-2
868
Member Avatar for complete

In a C# solution, how do I add an .EXE project to a solution of DLL project's? This is using Microsoft Visual Studio Professional. I have been handed a solution file which contains three projects. But all three projects generate DLL files. It is kind of unique because I have …

Software Development c# visual-studio
Member Avatar for tinstaafl
0
168
Member Avatar for dimitrilc

## Introduction ## When working on Android with Kotlin, you might have ran into property delegates on a few occasions, such as `activityViewModels()` from `androidx.fragment.app` or `remember()` from `androidx.compose.runtime`. In this tutorial, we will learn what property delegates are and how to create them ourselves. ## Goals ## At the …

Software Development android-development
3
160
Member Avatar for Joel_33

Anyone can help me? Create a C++ program that will contain a function to sort an array of 5 integers in ascending order, in which the function returns a pointer that points to the sorted array.

Software Development c++
Member Avatar for rproffitt
2
127

The End.