132,726 Archived Topics
Remove Filter ![]() | |
The question is Let's consider a triangle of numbers in which a number appears in the first line, two numbers appear in the second line, three in the third line, etc. Develop a program which will compute the largest of the sums of numbers that appear on the paths starting … Software Development c++ | |
Hi, I have downloaded jdk1.6.0.please tell me how to install it in my windows pc. Software Development java | |
Hello every one.I coded a program to print current date and time. First I declare a function tim() to calculate the current time. It works well.But the problem is I cant call the function from main() function.It doesnt print any thing.What is wrong with this code? Please help me.Thanks very … Software Development c | |
I'm recently doing an assignment for fraction problem. I've implemented classes for the programme to accept fractions. And i've overloaded operator +, -, *, / and ==... But here is some strange thing. Before that i show some of my code here regarding operator -: [CODE]Fraction operator-( Fraction a, Fraction … Software Development c++ | |
[CODE] if (user_input == 1) { dict.open("dict.txt"); cout << "Enter word "; cin >> word_check; toLower(word_check); vector<string> lines; string line; if (dict.is_open()) // if the dictionary is open { while (getline(dict,line)) { lines.push_back(line); } if (binarySearch(lines, lines.size(), word_check) != -1) { cout << word_check << " is in dictionary" << … Software Development c++ | |
Hi All, i worked hard with following error from two weeks. when i am connecting to my sql database from client machine using vb.net following error occured. its worked for local machine. "an error has occured while connecting to the server. when connecting to sql server 2005 ,this failure may … Software Development client-server sql vb.net | |
I just noticed a bug in my game.[url]http://blogfriendlyzone.webs.com/WheelOfFortune/WheelOfFortune.html[/url] To start, scroll down and click start. Then i click on the Spin the Wheel for player 1. When the wheel stops spinning, it expects a character from the keyboard because i attached a listener to the panel. But if i click … Software Development java | |
Dear ALL, I have tried to demonstrate the card game problem by myself. The card game is come together with 52 cards. It has Spade, Heart, Club and Diamond - Spade > Heart > Club > Diamond. It has the integers and chars 2,3,4,5,6,7,8,9,10,J,Q,K,A. Could you tell me how can … Software Development pascal | |
Dear all, How would you best explain the below code fragment? [CODE]return (i == 0) ? strNum : strNum.substring(i);[/CODE] Thanks alot! Software Development java | |
Hi, I need a bit of help with the java app I have. I am trying to have a tree structure that contains 2 different types of nodes..] a simple node called 'SimpleNode' - to hold a name and url strings and another node called TreeNode that act as folders … Software Development data-structure java | |
I need to read information from a text file into a struct array. Im writing a program to make a list of favorites that the user will input. When they close the program, the array will write to a file. The next time the program is ran, i need to … Software Development c++ data-structure file-system ios | |
i came across two high level programming languages :python and ruby. they are cross platform,just like java. they are very productive ( a programmer can write a program using python in less than quarter the time you need to write the same program in java). they have have -more or … | |
i takes the current date value and then save it to text1.text Text1.Text = Format(Now, "m/dd/yyyy") then i am passing Text1.Text which actually contains date to Sql String which Delets all record that matches the Expiry date.. if current date = expiry date then delete that record.. strSQL = "DELETE … Software Development visual-basic | |
Hi, i need to read the system date and time in one file(which is already done).Then in another program i need to read the contents of the first file then check if its has already crossed 1 minute from the current time.i am unable to get how to do it … Software Development c | |
Hi I want to Mask my MaskedTextBox.I used Custom Mask in design.but when it shows my preview Mask,it's quiet different.I attached the pic.plz Guide me. thx. Software Development | |
hi, can you help me in making my program ,employee log system program and it is password protected program ^_^ ..... | |
I am new to vb.NET and I have decided to make an image viewer, and what I want to do is resize the image it loads to fit the picture box, how do I do this? My image is a System.Drawing.Image object. | |
hi i designed an application in Visual Studio 2008 that uses crystal reports. When i run the application in Visual Studio, the application generates the reports with no problem. After packaging and installation though, a Just In Time Exception is called when a user tries to generate a report. Software Development vb.net visual-studio | |
Hello All, I want to copy zipped file from one machine to another in same network. I have the IP and folder of destiny machine, but I'm pondering on the best way to go! transfering among same drive, I will use shutil module. But what about networked PCs? Should I … Software Development python | |
Hi I have a program that adds, deletes, edits and views a text file's contents. The text file, named as "student.cvs" has the following content and format <student code>, <last name>, <first name>, <middle name>: [ICODE]2009-1234, Asa, Gohan, Gogo 2009-4321, Basha, Bushum, Jujog 2009-1999, Mekemi, Mekeke, Makeke[/ICODE] The whole program … Software Development c file-system | |
I am writing a very basic memory match card game, and am trying to get the program to flip over the selected cards, wait 2 seconds so the user can see the values, then flip back over. The code I have to do this is: [CODE]Private Sub Label_Click(ByVal sender As … Software Development vb.net | |
i was jus wondering if u can help me on diz program,, im hav difficulty in findin d mode i hav done everytin jus that d mode iz not coming up. thanx aspa. below is d code i greated so far /* created by Nokiolurv */ #include <stdio.h> #include<stdlib.h> int … Software Development c | |
question given like this The Fibonacci sequence is the series of numbers 0, 1, 1, 2, 3, 5, 8, .... Formally, it can be expressed as: f ib0 = 0 f ib1 = 1 f ibn = f ibn−1 + f ibn−2 1) Write a C program using the fork() … | |
![]() | Hey guys, I wanted to make a simple Python program to send an email to my Gmail account. So: [code=python] import smtplib sobj=smtplib.SMTP("smtp.gmail.com") sender="sravan953@gmail.com" rec="sravan953@gmail.com" msg=""" From: From Person<sravan953@gmail.com> To: To Person<sravan953@gmail.com> Subject: Test Does it work? """ sobj.sendmail(sender,rec,msg) [/code] -but it doesn't work, it shows an error [code] Traceback … Software Development python |
I programmed a a neural network class in python using numpy. I had some trouble getting it to work properly, in my case I wanted to train it with back propagation to approximate XOR, but then it started working, then it didn't, and overall it only seems to work sometimes. … Software Development python | |
Hello. I'm writing an RMI application for my semester project, and I'm getting a really frustrating error! I have the interface PlugNPlayIMPL that contains 5 or so abstract methods. One method (init) is called and it creates a new JPanel in the class that was bond to the registry. Here's … Software Development java | |
/facepalm Ok, so I have to make a program upon startup it has to read from a said file which looks something like this Song Name Artist Genre Track Time That is one block of the array, their is a max of 10. Ive been googling and searching the forums … Software Development c++ | |
hi all. This might be more of a math problem then anything, but i'll give it a shot. I have an idea for a game i am working on, in which the player must advanced thru a level my the means of propelling a cube in the air (across the … Software Development python | |
anyone can help me fix this coding.. this coding output is string output.. but i want output in double.. [CODE]Private Sub OutputPremium() With ds.Tables("KadarPremium").Rows(cmbPremium.SelectedIndex) Select Case cmbPelan.Text Case (1) lblPremium.Text = .Item("20TP1") Case (2) lblPremium.Text = .Item("20TP2") Case (3) lblPremium.Text = .Item("20TP3") Case (4) lblPremium.Text = .Item("20TP4") Case (5) lblPremium.Text … Software Development vb.net | |
Hello every one!Please help me!! I am new to C programming.I wrote a programe to copy lines one by one of a file to an array.But it cant compile.I cant understand the error code also.Please help me! here is my code. #include<stdio.h> int main() { FILE *f; char data[256]={0}; char … Software Development c | |
Would I be able to make 2 of my forms share properties? Like, uh, I want form1 to be my main program, but I want form2 to have my programs 'options'. Then when the 'save' button on form1 is pressed, it will save the information on form1 and the options … Software Development vb.net | |
Ok, what I'm trying to do is have the user enter a command at the prompt, and on the right command a function is called. Here's my code: [CODE]#include <iostream> #include <stdlib.h> void functionCall() { std::cout << "function successfully called"; } int main() { char userInput [128]; std::cin.getline(userInput, 128); std::cout … Software Development c++ | |
Hi! I've made a small program for an assignment and it works as it should. There's just one problem; the code contains two global variables. I won't pass the course unless I get rid of them and it's been bugging me for weeks. The program: [CODE] ##This program simulates a … Software Development python | |
test.c [code] #include<stdio.h> int main() { //System("cat test.c"); exit(0); return(0); } output: #include<stdio.h> int main() { //System("cat test.c"); exit(0); return(0); }[/code] when i compile & run this program in c then i want the same output in java program with it's compilation.. i think i hav to do some change … | |
HI experts..I need ur help.. VB.NET category I need script that can be used to do settings for allowing SQL SERVER 2005 Express to allow remote connections. The settings that we do manually after installation [COLOR="Green"][B]i.e to enable TCP/IP in remote connection in Configration Manager , start Browser service, set … | |
Ok, Basically, my C# Application is running an unattended installation of visual studio 2008 (its just a process, nothing complicated) but i need a loop in there, so that when the setup.exe which is being called has finished running, i can call a message box to say its complete... so … Software Development visual-studio | |
hi friends I used these codes for restoring my DB.But it has error.plz help me. [CODE] string backupfile = "D:\\Backup.bak"; Server svr = new Server("."); Database db = new Database(svr, "library"); Restore rs = new Restore(); rs.NoRecovery = false; rs.Database = "library"; rs.Action = RestoreActionType.Database; BackupDeviceItem bdi = default(BackupDeviceItem); bdi … Software Development | |
Hi, i've had experience making counting programs in the iostream and now i'd like to make something useful to me. I play a web browser-based game called Neopets, and i often refresh 500 times a day there to encounter random events. Eventually, my hand gets tired, so i'd rather make … Software Development actionscript c++ flash web-browser | |
I want to select multiple records from sql table and insert it to a dataset when the selected index is changed from a combo box. for example if i select "1" from the combo box then, only values with "1" in the sql table's mentioned column should be inserted into … | |
I have a program that requires to read from a text file with a .cvs file extension. The program tends to add, edit, delete records written in the file. But before anything, the program simply can't read the .cvs file to begin with. Anyone can guide/help me on this? Thanks. … Software Development c file-system | |
Hi.... I am making a application, which required .net framework 1.1.4322 it isn't available on msdn, Can anyony tell me from where i can get this............? Kindly help me related to this..... Software Development | |
I am working on the following Java application Write a program that allows the user to enter the last names of five candidates in a local election and the votes received by each candidate. The program should then output each candidate’s name, the votes received by that candidate, and the … | |
[B]EDIT: [/B] i mean "parsing number from a string?" sorry. what should i do to parse a number from a string? i tried this. [CODE=java] Double leap = Double.parseDouble(this.yyyy); [/CODE] but it gives me error. i want to keep the zero in front of the input. for example: 1. i … Software Development java | |
Hi experts, Why does line [B]parts = new Tire*[numOfParts];[/B] generate the error [B]invalid conversion from `Tire**' to `CarPart**' [/B] in file car.cpp? The program works if I change the variable parts to be of type Tire** instead of CarPart**. I formatted my problem to a complete simple (though multifile) program, … Software Development c++ | |
Hi, i am new to C# but have experiance in java and html and am having problems using the StreamReader class. I am trying to run a C# script on my webserver to read a target website and extract particular weblinks and either save them to a local XML file … Software Development xml | |
Hello, I've made registering system to my little test program, It works well until you try to create two accounts with same name, It shouldn't allow it but it still does it. I have tried to solve this problem all day now by trying diffrent methods but sadly nothing helped. … Software Development java java-swing | |
What is more efficient? 1) import math 2) from math import * 3) from math import sin, cos Software Development python | |
hello my friends I have write a application that send appointment to outlook with asp.net and c#.i need to send date in shamsi date format,and my time zone set to tehran GMT(+03:30).but timezone and date dose not work correctly.for example when i send an appointment with start time=06.30 and end … Software Development asp.net | |
Hi, I want to have a tree view control with tables as treenodes instead of labels that. For this I cant use third party controls even though they r free So I want write Owner drawn treecontrol can anyone give me the links to any tutorials that explain this concept … Software Development c# |
The End.