861 Recommended Topics
Remove Filter | |
classification of a text in a corpus with five themes and each theme contains 10 items in perl for exemple: i have: 1 theme food 10 articles about food 2 theme politic 10 articles about politic ...etc and i give him a new text and he classify this text on … Software Development perl | |
Hi, I'm having trouble with creating a program to split a number into there own separate digits and then multiplying the digits to create another number. The program will repeat itself until there is just one digit.. The main thing I'm having problem with is figuring out how I could … Software Development c++ | |
Hello clever people, Completely new to VB.NET (only installed Visual Studio 2019 in the past couple of days). To start all I want to do is open Excel (office 365) from a button on a userform. The location of the file is on a network, lets say: - \\file-svr01\Rozel\Design\Parts\PNG.xlsx OR … Software Development vb.net | |
I have multiple .TXT files in a folder. Each text file has the same outline of paragraphs out of which I wish to select everything between 2 specific words. I have a regex code for finding the particular text of interest. The aim is to write a python code that … Software Development python | |
Help me to generate a complete image after finishing my free drawing in paint Here is the code /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ … Software Development java | |
Question is: Create a class Employee with following constraints in mind: 1. Declare three private data members named id,name,NIC of int,string,long respectively. 2. Overload stream insertion and stream extraction operators. Implement a global function named saveData, that'll allow the user to enter any number of employee's data and store it … Software Development c++ | |
So, basically this code is for a Tic Tac Toe game, I'm trying to make a Singleplayer mode where Player 1 inserts a spot number to put his X, and Player 2 uses a random number generating function and assigns his O in a random spot. Everything works fine except, … | |
hello.. can anyone help me to converting this algorithm to High Level Language C++ ![Screenshot_(107).png](https://static.daniweb.com/attachments/4/801ae0f7416d69e6dd0f92d7ecce8cf6.png) Software Development c++ | |
What "Hello World" is to the console, the "Bouncing Ball" is to the Graphical User Interface. Nothing fancy, the ball is created via a call to the API function ellipse() and then bounced within the confines of the windows form. For the DEV C++ crowd: Let me know if you … | |
The printer seems to be a much ignored computer peripheral when it comes to programming. This little code snippet explores one way to send text to the default printer. It actually draws the text into an imaginary box on the paper. You can specify the upper left and lower right … Software Development python | |
Hi everybody, I'm having a little problem with finding sum of nested list in Prolog. So far what I have is [ICODE] totalSum([],0). totalSum([H|T],S):- totalSum(T,Sum), S is Sum + H. totalSum([H|T],S):- totalSum(H,Sum1), totalSum(T,Sum2), S is Sum1+Sum2. [/ICODE] With first two predicates, I have no problems getting sum of not-nested list. … Software Development | |
from socket import * #Start test() def test(): #Specify the port serverPort = 80 serverSocket = socket(AF_INET,SOCK_STREAM) serverSocket.bind(('',serverPort)) #Listen for the 1 connection serverSocket.listen(1) #Print the port address print("web server on port",serverPort) #Start thw while loop. while True: #Establish the connection. print("ready to serve") #Create connection socket for accepted client. … | |
i have 1 function that give me an array of a line points... on these array, how can i get the array size without using the UBound() and LBound()? Software Development visual-basic | |
without use DirectX, how can i get rendering\graphics speed? i created an Image class that uses DIB's... but something seems wrong for i draw in a pixel way.. too slow, maybe because i'm trying getting the line, 3D, points. maybe someone can give me more info: Friend Sub DrawImageRectanglePoints(DestinationHDC As … Software Development visual-basic | |
Create a dialog box and add text entry box and colour to the dialog box and text using wxpyton | |
when I read FutureTask's run method, I found it use cas to set runner variable, public void run() { if (state != NEW || !UNSAFE.compareAndSwapObject(this, runnerOffset, null, Thread.currentThread())) return; try { Callable<V> c = callable; if (c != null && state == NEW) { V result; boolean ran; try { … Software Development java | |
Hello guys, I'm new to VB.Net programming and Daniweb community as well. I'm developing a software in VB.net. But the problem is that I don't know how to create Invoices after taking the Sales Order. I'm in an urgent need of your valuable help you could provide me. Thanks in … Software Development vb.net | |
Dear Friends, I have add resource file with number of images to my project. My question is, after deyploment and setup of the windows base application, i cannot I find resources file on the client pc, but the pictures are visible? Thank you in advance, André Software Development c# | |
HELP ME IN MY BUS RESERVATION PROJECT I NEED TO HAVE A CONDITONAL STATEMENT IN MT SEATING ARRANGEMENT FOR EXAMPLE IF THE SEAT NUMBER IS ALREADY SELECTED IT WILL POP UP THE SEAT IS ALREADY SELECTED I USE THE COMBO BOX FOR THE SEAT NUMBER Software Development java | |
So, basically what I'm trying to do is a Tic Tac Toe game for a project. I started with making 3 1-D Char Arrays to represent the game's bord. the code below compares the Arrays data to try and figure out if any of the winning possibilites were achieved by … Software Development c | |
Sir I have installed JAVA 15 windows 7 64bit ![aapng.png](https://static.daniweb.com/attachments/4/6317016c29f6905d889b1cecd53f91b3.png) I want to ask what Microsoft JDBC Driver for SQLSERVER 2014 should I download. Please Software Development java | |
hi there i have an XML file wich contain some music information in a node and i would like to insert more i would like to add more node on demeand when i do i receive this error HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is … Software Development java | |
Currently trying to understand how to convert some C into mips. Is a "return func" different from "return"? Both C codes are very similar yet im unsure how they will both look in code once completed. Are both of these codes the same? The second code is from another thread … Software Development assembly | |
Hello all, I am fairly new to Java, and have had a terrible time with arrays thus far. I am attempting to complete a project using arrays to store inventory items (item number, name, unit price, and unit numbers) and need to output information using an array to hold the … Software Development java | |
Hello, i have some problems with my c code, could you help me? it's returns randomly numbers for averages. #include<stdio.h> #include<stdlib.h> struct Student MStudent(struct Student std); void CalcAvrg(struct Student std); struct Student{ int mark[5][5]; }; struct Student MStudent(struct Student std){ int i,j; for(i=0;i<5;i++){ for(j=0;j<5;j++){ printf("%d. Student's mark for %d. exam … Software Development c | |
Hi I'm trying to create a script in powershell that finds a string in a file and then modifies it but I'm having issues matching the string I want. So, I'm trying to make sure that I can find this type of string |d where d is is any digit, … Software Development regex | |
QUESTION:You are required to write a program that performs syntax checking for a given computer program Hey Everyone i need your help badly can anyone please modify my code below against the following rules: • The code always starts with begin keyword and ends with the end keyword • The … Software Development c++ | |
this is what i have so far. public class PersonalInformation{ /* =================================================== ===== Challenge 6.1 - Personal Information Class ===== ====================================================== Design a class that holds the following personal data: name, age, and phone number. Write appropriate accessor and mutator methods. Demonstrate the class by writing a program that creates … Software Development java | |
I came across a KMeans implementation in Java. The number of clusters generated by the code is 3. But when I tried to change it to 2, I am getting the error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2 Any help is much appreciated. Here is the code: public class KMeans … Software Development java | |
Hi When I run main.py I got this error how can I fix it? I'm using https://github.com/PicciMario/iPhone-Backup-Analyzer-2 / Traceback (most recent call last): File "./main.py", line 44, in <module> from PySide import QtCore, QtGui ImportError: No module named PySide I appreciate your help Software Development python |
The End.