991 Recommended Topics

Remove Filter
Member Avatar for
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
93
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 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
53
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
Member Avatar for rproffitt
2
369
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 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
Member Avatar for Rawand_2
0
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 python windows
Member Avatar for DGPickett
0
235
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 images vb.net visual-basic
Member Avatar for Reverend Jim
0
222
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
539
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
765
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++ code-tags
Member Avatar for toneewa
0
242
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 .net c#
Member Avatar for rproffitt
0
186
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 database microsoft-access
Member Avatar for casderasd
0
99
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
71
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
68
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
779
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
161
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 kotlin
3
147
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
121
Member Avatar for himit

I am trying to convert 1 XML into another and want to increment the variable as many times the loop executes. XML Code- [code] <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> …

Software Development xml
Member Avatar for Balakumar_1
1
15K
Member Avatar for pmworlds

Discussion on Cybercafe Managment System - Project. I am in student in IT Eng. and i am woking on project for developing a Cybercafe Managment System. So, i am taking a reference of "handycafe" software. But i need more details on this concept. About which features i can add,what type …

Software Development vb.net
Member Avatar for mr_865
1
685
Member Avatar for Miguel Nicholas

To be honest with you, all the codes that i made were self taught, i had to advance myself to learn more stuff in C++ which my first challenge is to make a simple but clean made text based adventure game, but im at the wall atm. (don't judge me, …

Software Development c++
Member Avatar for kidspointdotin
4
3K
Member Avatar for tanatos.daniel

I want to determine if the mouse cursor is above a Windows Form and if so, change its color, but I'm kind of new to this and C# also. I was thinking of something like this: public Form1() { InitializeComponent(); if (Control.MousePosition.Y >= 0 && Control.MousePosition.Y <= 499 && Control.MousePosition.X …

Software Development control cursor mouse position windows
Member Avatar for bir_924
2
6K
Member Avatar for UKnod

I am using visual studio / basic 2019. using the windows media to play sounds (WMPLib.WindowsMediaPlayer). It works great, I can play multiple sounds etc. However what I realy want to do is play some sounds on sound card A. And other sounds in sound card B. I am thinking …

Software Development sounds vb.net
Member Avatar for UKnod
2
652
Member Avatar for JakeRivett

how to pause VB.net code until the user clicks a button I want my code to pause while the user makes a decision on the form by clicking a button on the form. How would I go about doing this. I have tried using Doevents with a do unitl loop …

Software Development vb.net
Member Avatar for jake_20
0
1K
Member Avatar for linux

Is it possible to write a full blown operating system (such as Linux) in Python? I mean writing a kernal, and then other applications that the kernal calls, without having Windows, Linux, UNIX, or Macintosh OS installed on your computer?

Software Development python
Member Avatar for Thulan
2
2K
Member Avatar for isendre

Hi everyone, I'm having trouble creating a program. This program needs to create a square board of size n, where a user inputs an integer value 2 - 9. For example, a board with size n=4 would look like: 1 . . . 2 . . . 3 . . …

Software Development python
Member Avatar for cossy254
1
6K
Member Avatar for michellepermsm

I think RPA is independent as it's about automation. Which is fine if you're a factory drone. But it doesn't work for today's generation of workers, who are used to being treated with a little more respect to feel empowered about doing a job they believe in. The real future …

Software Development database
Member Avatar for rproffitt
0
64
Member Avatar for RalphGarner

I am a profession (retired) visual basic programm and have devleoped an stock market application, which work just fine on my pc. Basicall, it reads file for yahoo and creates local file, and analyses the data and rearranges the data in 20 difference way to help user decide how to …

Software Development assembly visual-basic
Member Avatar for pritaeas
2
217
Member Avatar for vorlic

could you recomend me a free bok or a youtube video to start learning python (latest version) from scratch????? grettings, Vito Orlic, Metlika Slovenia

Software Development python
Member Avatar for wpeckham
0
137

The End.