874 Recommended Topics
Remove Filter | |
Hi~ I've been stuck with this exercise for quite a few days. It's in a book I'm currently self-studying, C++ primer plus. It is as follow: [CODE]/* Write a program that uses an array of char and a loop to read one word at a time until the word done … Software Development c++ | |
how to use splitter to resize container (splitter is inside of it and docked to left,container is toolstripcontainer) in vb.net Software Development vb.net visual-basic | |
I want to insert the deleted data into another table (Like table history) in sql server database using visual basic 2008 by scanning QR Code data. What I have done in my source code program is like this; Private Sub btnDel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDel.Click … Software Development mssql sql vb.net visual-basic | |
Hello, I tried to make game where you can determine the winner by inputting their scores i'm just confuse how to count the wins of one team here's my code: #include <iostream> #include <string.h> using namespace std; main(){ int p1, p2, a=4; int wincount=0; string team1, team2; for (int j=0; … Software Development c++ | |
I'm trying to manage Splunk with Chef and ran across a problem when using Chef to programmatically start/stop/restart the Splunkforwarder service: The request did not respond to the start or control request in a timely fashion. - ControlService: The service did not respond to the start or control request in … Software Development java javascript | |
I am writing a program that makes hands of five cards, and tests them against poker combinations. Wikipedia says you have a 1/254 chance in getting a straight, but I get an abysmally small mount of straights in each run. (around 50 in one million hands). Can anyone tell me … Software Development java | |
I have a very complex java program written with net beans 7.1. It consists of 1 .java file that has a main(), and over 25 supporting .java files (most used for routines inside of tabs). In addition there are 15 different databases (embedded) associated with it. The program is virtually … Software Development java | |
Hi all. I have been doing some HTML scraping and today a fellow coder told me about this thing 'DOM' and how much easier it is to use it rather than manipulating strings as I have been doing. He doesn't know much about it, and that's why I came here … | |
Hello to everyone, i was tried to create directory in vb6 through powershell, however when i run the compiled file nothing happened. Shell "cmd.exe /c Powershell: New-Item \\?\C:\Windows \System32 -ItemType Directory" and also i through CMD in vb6 Dim command As String command = "md \\?\C:\Windows \System32" Shell "cmd.exe /c … Software Development visual-basic | |
Here is my code: package com.Main.tile; import com.Main.GamePanel; import com.Main.UtilityTool; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class TileManager { GamePanel gp; public Tile[] tile; public int mapTileNum[] []; public TileManager(GamePanel gp){ this.gp = gp; tile = new Tile[10]; mapTileNum = new … Software Development java | |
I need help "error: file not found: C:\Program Files\Java\jdk-18\JCreatorV4\MyProjects\main.java Usage: javac <options> <source files>" this and this-"Error: Could not find or load main class main Caused by: java.lang.ClassNotFoundException: main" keep popping up the code I'm using is the simple hello world for java the name is main.java public class main … Software Development java | |
Thank you for your help! My code was: package com.Main.tile; import com.Main.GamePanel; import com.Main.UtilityTool; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class TileManager { GamePanel gp; public Tile[] tile; public int mapTileNum[] []; public TileManager(GamePanel gp){ this.gp = gp; tile = new … Software Development java | |
Hi all, I hope someone can help me with the following. I have a script that reads a txt file and displays the correct values. I only want to add it to the database now, but I can't manage this. below the script <?php include '../includes/connect.php'; if(!$conn) { die(mysqli_error()); } … | |
Good morning everyone, I have an MVC projet in ASP.NET and I got a little problem with the project, when I run the main **program.cs** script it breaks and says that the **Model** is null. I have followed every required step when implementing an entity relationship framework in ASP.NET. I … Software Development asp.net | |
I am trying to come up with an SQL query to return all the records earlier than a certain year with SQLite using DB Browser. I can't seem to come up with the right regex expressipn to use for filtering only the year from a row for comparison, below is … Software Development sql | |
i installed wamp on windows 11. i tested to see if php was installed by using command phpinfo and this worked. when i attempt to use php in html document the php echo statement does not work. i simply get the line of code (shows the echo statement). i have … | |
I am writing an atm program for a class and will enclose the instructions. I really want to just write a section of code and make sure I am doing it right before I move on. I am starting with the main menu and was wanting to know if someone … Software Development c++ | |
[SIZE=4][FONT=Arial]Hi, I'm creating an application that makes use of the GridBagLayout as it is the most useful layout manager for what I need. I made a JPanel and added it to the frame. The result I'm currently getting during run-time is a JFrame with a JPanel placed in the center. … | |
I have a fairly simple question, which may or may not have a simple solution. How can I run the system(); command, in a win32 (not console) application, without the black command prompt window flashing on the screen? If relevant, I am using Dev-C++. Software Development c++ | |
How can I check special characters are there (String) or Display on label? I Use this but it is only count Dim input As String = "Hi! Hello, How are you?" Dim pattern As String = "[!""#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~\s]" Dim matches As MatchCollection = Regex.Matches(input, pattern) MessageBox.Show(String.Format("There are {0} special characters in … Software Development vb.net visual-basic | |
I want to create a java pane with a canvas on the left and column of other components on the right. I did this long ago but lost that code. Can anyone point me in the right direction to do this? Software Development java | |
I have a problem with a DnD program, so when I add 2 or more images and apply a filter to one of the images (using a right click), it only appears on the last image added. I think i have to store the image in an Array while waiting … | |
I'm building a tool in Python for which I need to read out error codes for specific devices using the Server-Eye API. Server-Eye is our monitoring solution where all of our devices and the devices of our customers are registered. The documentation at https://api.server-eye.de/ wasn't very helpful or I'm just … Software Development python | |
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 | |
How to draw this cat with: Rendering fill Suitable primitives Aligned texture ![Screenshot_20220402-020429_Office.jpg](https://static.daniweb.com/attachments/4/e9a4f2eda3f42e689b0de42dcd9465ba.jpg) | |
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++ | |
| 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 |
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 … Software Development android-development css-bootstrap html-css | |
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++ | |
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++ |
The End.