132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for catchmrbharath

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++
Member Avatar for siddhant3s
0
261
Member Avatar for sandeepgrandhi

Hi, I have downloaded jdk1.6.0.please tell me how to install it in my windows pc.

Software Development java
Member Avatar for stephen84s
0
126
Member Avatar for chathu12

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
Member Avatar for yellowSnow
0
103
Member Avatar for kelvinnvl

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++
Member Avatar for siddhant3s
0
170
Member Avatar for scantraXx-

[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++
Member Avatar for tux4life
0
195
Member Avatar for chandiusjp

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
Member Avatar for samir_ibrahim
0
257
Member Avatar for and12

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
Member Avatar for and12
0
88
Member Avatar for turbomen

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
Member Avatar for FlamingClaw
0
163
Member Avatar for LiBOC

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
Member Avatar for MoZo1
0
103
Member Avatar for dazzyg

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
Member Avatar for JamesCherrill
0
107
Member Avatar for basketball4567

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
Member Avatar for Ancient Dragon
0
493
Member Avatar for johndory

Hello, I was wondering if there is a tutorial on binomial heaps on this site. if not, i would appreciate it if someone can post any links that are helpful on binomial heaps. All the text books i have do not have anything on binomial heaps. some do not even …

Software Development c++
Member Avatar for jainrani
0
142
Member Avatar for docesam

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 …

Software Development java ruby
Member Avatar for tux4life
0
152
Member Avatar for Agent-of-Chaos

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
Member Avatar for Agent-of-Chaos
0
94
Member Avatar for anujsharma

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
Member Avatar for anujsharma
0
126
Member Avatar for Dajer

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
Member Avatar for ddanbe
0
85
Member Avatar for plongx211

hi, can you help me in making my program ,employee log system program and it is password protected program ^_^ .....

Software Development c c# c++
Member Avatar for tux4life
0
105
Member Avatar for tomtetlaw

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.

Software Development image vb.net
Member Avatar for tomtetlaw
0
86
Member Avatar for danielagaba

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
Member Avatar for danielagaba
0
125
Member Avatar for Stefano Mtangoo

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
Member Avatar for Gribouillis
0
222
Member Avatar for notsogood

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
Member Avatar for notsogood
0
108
Member Avatar for awestove

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
Member Avatar for awestove
0
141
Member Avatar for nokiolurv

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
Member Avatar for mrnutty
0
94
Member Avatar for bernadlosini

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() …

Software Development api c++
Member Avatar for namasteall2000
0
420
Member Avatar for sravan953

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
Member Avatar for BDG
0
6K
Member Avatar for OffbeatPatriot

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
Member Avatar for OffbeatPatriot
0
169
Member Avatar for llemes4011

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
Member Avatar for llemes4011
0
797
Member Avatar for power_computer

/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++
Member Avatar for cgeier
0
197
Member Avatar for fallopiano

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
Member Avatar for Gribouillis
0
144
Member Avatar for ggl0rd

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
Member Avatar for ggl0rd
0
111
Member Avatar for chathu12

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
Member Avatar for chathu12
0
5K
Member Avatar for vaq

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
Member Avatar for vaq
0
102
Member Avatar for bynaridoom

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++
Member Avatar for bynaridoom
0
124
Member Avatar for hydrobat

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
Member Avatar for hydrobat
0
1K
Member Avatar for revatijadhav

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 …

Software Development c java
Member Avatar for maks91
0
123
Member Avatar for mania_comp

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 …

Software Development sql vb.net
Member Avatar for sknake
0
476
Member Avatar for Slippy-D

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
Member Avatar for sknake
0
2K
Member Avatar for Dajer

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
Member Avatar for DdoubleD
0
97
Member Avatar for krayzeeben

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
Member Avatar for Tigran
0
1K
Member Avatar for rizillion

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 …

Software Development dataset sql vb.net
Member Avatar for rizillion
0
905
Member Avatar for notsogood

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
Member Avatar for yellowSnow
0
171
Member Avatar for avirag

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
0
96
Member Avatar for latinajoyce

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 …

Software Development display java
Member Avatar for jakx12
0
160
Member Avatar for scias23

[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
Member Avatar for amitrail
0
115
Member Avatar for SkiesBblue

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++
Member Avatar for SkiesBblue
0
1K
Member Avatar for paulious1983

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
Member Avatar for kvprajapati
0
861
Member Avatar for Silvershaft

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
Member Avatar for Silvershaft
0
128
Member Avatar for bumsfeld

What is more efficient? 1) import math 2) from math import * 3) from math import sin, cos

Software Development python
Member Avatar for Stefano Mtangoo
0
117
Member Avatar for dariush29722

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
Member Avatar for kvprajapati
0
175
Member Avatar for seebharath

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#
Member Avatar for kvprajapati
0
100

The End.