132,726 Archived Topics
Remove Filter ![]() | |
| |
Hello, I need to write a program that calculates how many days from year January 1, 0000 to any specified date including leap years. When I run the program that I have, I am off by a few days for any given date. Can someone please check out my code … Software Development c++ | |
Hello, me again :) With this code: >>> from BeautifulSoup import BeautifulSoup >>> import urllib2 >>> url = urllib2.urlopen('http://www.python.org').read() >>> soup = BeautifulSoup(url) >>> links = soup('a') >>> print links A list of links printed into the terminal. I want to send the list into a text file, i tried … | |
Hi, I am getting below error when I run the Junit test causes throught build though i have set classpath of all http jars in build xml file org/apache/http/conn/ssl/TrustStrategy java.lang.NoClassDefFoundError: org/apache/http/conn/ssl/TrustStrategy at com.gehcit.eicu.util.HttpUtil.constructHttpUtilityConnection(Unknown Source) at com.gehcit.eicu.domain.Notifications.readRemoteNotifications(Unknown Source) at com.gehcit.eicu.workflow.NotificationProcess.execute(Unknown Source) at org.activiti.engine.impl.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34) at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37) at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25) at org.activiti.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:49) at org.activiti.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:40) … | |
Hi Group, I've written a macro to save a copy of the spreadsheet at the end of each day. I tried to test it as a shared file and learned the macro wouldn't work. Is this normal for a shared document? If so, is there a way around this? How … Software Development microsoft-office visual-basic | |
Hey all, I want to learn C programming . Can you please guide me? (From where the software to be downloaded, Tutorials etc.) Thanks Akhila | |
The tools Hal’s sells are: Hammers: $10.99 Wrenches: $10.99 Levels: $19.99 Tape Measures: $4.99 Screwdrivers: $8.99 In order to make things easier in the long run you have decided to make a c++ program that takes in all the orders for each register and tallies them at the end of … | |
I hope it's right place for it, if no - sorry, please tell me where I should place it. I wrote simple time class, could you review it, tell me what I did good, what wrong, and how I can fix it? I excluded things like include guards, namespaces, include … Software Development c++ | |
So I was given a stack program to convert from int to char. I converted it but the output is...not expected. Wanting someone to point me in the right direction. I will post the header and driver program of the int stack and then the header and driver of the … | |
Set rs2 = New ADODB.Recordset rs2.Open "select * from company_name", db, adOpenKeyset, adLockBatchOptimistic rs2.AddNew If pdfpath <> "" Then Set pdffile = New ADODB.Stream pdffile.Type = adTypeBinary pdffile.Open pdffile.LoadFromFile pdfpath rs2.Fields("pdf") = pdffile.Read rs2!co_no = Val(co_no.Text) rs2!co_name = co_name.Text ''' pdffile.Close Set pdffile = Nothing rs2.Update Set rs2 = Nothing … Software Development pdf visual-basic | |
get data from client in server socket java I am creating a server app which does the following task Accept connection from client Process each client connection to separate thread Receive data from client send data to client I am able to connect client but not able to receive data … Software Development java | |
hi programmers i have a seriuos problem when i run and clean my codes there was a error. and the problem is maven Dependencies which is ojdbc14.10.2.0.4.0.jar was not in the resperatory how to fix this? TIA Software Development java | |
Hi all, I have a question on how to reverse an integer array **recursively** with only 2 paramters. #include <stdio.h> void reverseAr(int ar[], int size); int main() { int size; //Array size int ar[100]; //The array itself int i; //Index to be read in the array int numbers; //User input … Software Development c | |
i don't know if im in worng language or not but im using Eclipse for my program and then once i build my program using maven build. but i got a error No plugin found for prefix 'C' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available … | |
how to integrate migs payament gateway in website Software Development java | |
Hey everyone so here's a new code and it compiles but it won't let me separate the data and add more questions for the user. Please help me and thanks in advance! I need it to enter 3 elements after list2 header file #ifndef H_myArray #define H_myArray class myArray { … Software Development c++ | |
I've managed to construct a working code for John Conway's Game of Life. Now I wish to GUI-ize it. My only problem is printing a matrix. I want a huge text field to print "_" for no life and "X" for life in each cell (much like I did in … | |
Hello I need help getting this to display the 3 outputs (Euro, Franc, Rand) with 2 decimal places (1.00) I have all the calculations done so this is what I have as my code: Public Class frmConvert Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load End Sub Private … Software Development vb.net | |
I am try to make a program that alows the user to input their username and password to recive a set of options. Right now the options are to look at a file or quit. In order to complete it I need to know how to turn of the visability … Software Development python raspberry-pi | |
Hello Guys, I am trying to implement a coparison operator == into a try catch block to compare to clocks. I defined my comparator as friend bool operator ==(Clock&c1,Clock&c2) { return(c1.get_hour()==c2.get_hour() && c1.get_minute()==c2.get_minute()); } and my try catch block as Clock *clock3; try{ int hour,minute; cout<<"Hour: "; cin>>hour; cout<<"Minute: "; … Software Development c++ | |
Given a unicode string or file, what is the best way to find a short unicode string that is **not** a substring of the first one ? I want a working algorithm that avoids transforming the first string into a list of characters. My first idea is to choose a … | |
Well this is my basic code for my RPG, can I have help improving it? import cmd import json from rpg_data import * class RPG(cmd.Cmd): def do_n(self, line): try: Me.location = Me.location.exits["north"] except: print("You can't go north") def do_s(self, line): try: Me.location = Me.location.exits["south"] except: print("You can't go south") def … | |
Hi again. I want to create a robot or spider or crawler with python urllib. Still couldn't find any good tutorial. Any suggestion?! | |
I am just in the first week of XML class. Never even heard of it before this class. I am getting this error message, and here is my output. I have tried in IE and Chrome. Same result. Can someone tell me what I am doing wrong? Thank you!!! Teddi … | |
Is there any way I can make this select case more efficient? Select Case cboBoard.SelectedIndex Case 0 To 1 If intDaysRented = 0 Then If intHoursRented > 3 Then lblCost.Text = FormatCurrency(arrDailyRates(cboBoard.SelectedIndex), , TriState.True, TriState.True) Else lblCost.Text = FormatCurrency((arrHourlyRates(cboBoard.SelectedIndex) * intHoursRented), , TriState.True, TriState.True) End If Else If intHoursRented > … Software Development vb.net | |
Hello everyone~! I have a text file with integers on every line like: 2397 4013 9382 5995 4961 9961 1535 146 8153 3877 5872 2690 9731 8060 8452 7873 1109 4152 7256 2437 6815 2032 2473 1090 5674 6096 7868 422 My problem is: Im not sure how to store … Software Development c | |
Hi friends. With `datetime.datetime.now()` or `datetime.datetime.today()` i can get the current date (English calendar) for my program but what about if i want to get the current date (from Persian calendar) for my program; then what should i do? As my pc os date is set to English calendar so … Software Development operating-system python | |
Hello. I want to learn python urllib. I have installed it and now looking for a good tutorial, any suggestion? Software Development python | |
Hi friends! import urllib url = 'http://www.python.org' text = urllib.urlopen(url).read() I have typed the code above on the terminal and in the next line with `print text` an html file printed there. I want to send it to a text file, how can i do that? Software Development python | |
I want to exchange line 18 text with line 23 lable text, but here line 18 doesn't work in my code? Any idea?! from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.label import Label def timer(): delta = datetime.datetime(2015, 3, 21, 2, 15, 11) - datetime.datetime.now() days = delta.days … Software Development python | |
How do I edit a project template used in Visual Studio? I am using Visual Studio 2008 with C# and C++ I am doing some development on some code. The project uses an SDK that was put together by a 3rd party company that, when run, adds content to the … Software Development visual-studio | |
#include<iostream.h> void main() { int i=o; i=400*400/400; cout<<i; } i am getting a wrong output Software Development c++ | |
Is there a specific way to code a database authentification for users of a program? Software Development python | |
![]() | Hi together i need your help... again for my lab work. The question is the following: Use a single-subscripted array to solve the following problem. A company pays its salespeople on a commission basis. The salespeople receive £200 per week plus 9 percent of their gross sales for that week. … Software Development c++ |
Dear All i want to design a software in which i play a role of server and all users in my office will be a clients. whenever IT department want to send any message to all i will write in server app and msg will appear on everyone's screen and … Software Development vb.net | |
#include<stdio.h> #include<conio.h> main () { clrscr(); int a=1,b,sum; while (a<=100) { sum=0; for (b=1; b<=a+9; b++) { sum=sum+b; printf("Sum is %d.\n", sum); } a=a+20; b=a; } getch(); return(0); } -This code is supposed to print the sum of the first 100 words. Getting the sum of the first ten, skipping … Software Development c++ | |
Enter five scores and display the lowest score and the difference of each score from the highest score. I'm so confused. I don't know if i'll use array or looping. Need you help. Thanks Software Development c++ | |
` #Author : Bikash Guragai #versione : 1.0 #email : bikashguragai@gmail.com or bikashguragai@programmer.net import random print ("Hello and welcome") Name = input("What is your name: ") print ("Nice to meet you",Name) ok = input("Click enter to move on") play = input("Lets play a game") b = input("Think of any Any … Software Development python | |
This is a PyEditor I made because I couldn't get a IDLE working on windows 95. Software Development python | |
Hi guys, I need coding help in printing contents that are inside the groupBox only. I have a form with two groupBoxes, and would like to print contents on only 1 groupBox. Thanks. Software Development vb.net | |
public void rotate(double theta) { // this is the matrix to multiply by.. //x*cos(theta) , y* sin(theta) // x* -sin(theta) //y * cos(theta) vertices[0][0]= vertices[0][0]* Math.cos(theta)+ Math.sin(theta)*vertices[0][1]; vertices[0][1]= vertices[0][0] * (-Math.sin(theta)) + Math.cos(theta)*vertices[0][1]; vertices[1][0]= vertices[1][0]* Math.cos(theta)+ Math.sin(theta)*vertices[1][1]; vertices[1][1]= vertices[1][0] * (-Math.sin(theta)) + Math.cos(theta)*vertices[1][1]; vertices[2][0]= vertices[2][0]* Math.cos(theta)+ Math.sin(theta)*vertices[2][1]; vertices[2][1]= vertices[2][0] * … Software Development java | |
I'm working on a programme that's supposed to accept input of doubles from an array however it's not quite working out for me. It takes in Integers alright but not the double values. Could someone point me in the right direction Any help is much appreciated double array[] = new … Software Development java java-netbeans | |
Help. I've been tasked with writing a program that calculates the average temp for a week, getting user input for daily temps, calculating the average and printing out the results. I got that part. The second part is asking me to print out a message (Too hot!) if the avg … Software Development java | |
` This is the code /*Practice Assessment 2 - Question 5 Program to calculate how many days and weeks in a given month 24/2/15*/ import java.util.*; public class calender { public static void main (String []args) { Scanner keyboardIn = new Scanner (System.in); String month; int days_in_month, weeks, days; System.out.print … Software Development java | |
I have to write program in c linux for operating systems class - communicator using fifo which has to work like that: ./Speak create name (to create user) ./Speak send from to (to send msg from user to user) ./Speak history name (to read all msgs sent to user Every … Software Development c operating-system | |
I cannot write Assembly code to save myself can someone write this for me please I want to make a fast case statement as a standard case statement is way too slow for my project. my project hangs on this centail peice of code. Hear below I see how to … Software Development assembly | |
![]() | I would like code to display ms access database dynamically in a jframe . here is my database.**[img]http://i.imgur.com/PtuGLnX.png?1[/img]**.I tried searching a lot but i think i need personal help in this area as this is a suppose to be dynamically updated Jframe.on the other hand i am open to suggestion … Software Development java microsoft microsoft-access |
![Please I need a help on this. I am working on a C# bible projection application like easyworship (www.easyworship.com). I have a challenge, I want to be able to create a replica of their bible search textbox. It can search bible book, chapter and verse in a single textbox. When … Software Development c# | |
Hi, I am new to programming and have attached my code so far, i need to insert the code to read data from serial port but havent a clue where to put it or how any help would be great Imports System Imports System.IO.Ports Public Class Form1 Private mySerialPort As … Software Development vb.net | |
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CompareLab { abstract class Person { public string Name { get; set; } public string Id { get; set; } public Person( string name,int ID) { Name = name; Id = ID; } public abstract void DisplayDetails( ); } … Software Development |
The End.