199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for thenuttybrownie

hi Could someone please help me urgently with my computer programming project. This is the assignment: Create a program in which a user is asked for how many values (s)he wants to enter (maximum 50), then: Asks for the values and stores them into an array of double. Sorts the …

Member Avatar for Stefano Mtangoo
-1
293
Member Avatar for natnit

My research group is trying to implement a hash table to reduce the effects of a very costly step in our calculations. Basically, it can take more than an hour to go from A to B, and B is something ridiculously simple, like a number between 1 and 100. A …

Member Avatar for Adak
-1
3K
Member Avatar for hannah shrn j

[code]class node { public int data; public node LC,RC; public int shortest; } class minleftist { node root = null; public void insert() { int newelt=0; try { System.out.println("Enter the element:"); DataInputStream din=new DataInputStream(System.in); newelt=Integer.parseInt(din.readLine()); } catch(Exception e){} node temp = new node(); temp.data=newelt; temp.LC=temp.RC=null; temp.shortest=1; if(root==null) root=temp; else root=melt(root,temp); …

Member Avatar for JeffGrigg
-1
262
Member Avatar for Túrin

So I was running a simple python program in IDLE, and I got this subprocess error. I looked it up on Google, and found much information about it. None of it really got me anywhere. I think the error has to do with AVG blocking IP 127.0.0.1. (I am using …

Member Avatar for jaclynn
-1
3K
Member Avatar for ayeshashahid

can somebody tell me what can be the application of bubble sorting.or what actually application of bubble sorting means is it the usage of bubble sort in different areas.please give me some applications of it..

Member Avatar for ayeshashahid
-1
2K
Member Avatar for aaloo

2day i hve another problem ..this is my code [CODE]<?php $data = mysql_query("SELECT * FROM entries ORDER BY id DESC LIMIT $x , 3") or die(mysql_error()); while($info = mysql_fetch_array( $data )) { echo" <div id=\"containing\">s <h1>".$info['contents']."</h1> <div id=\"parent\" > <p >".$info['author'] ."</p> </div> </div> <?php echo "<a href=\"$info['contents'].php\" >READ MORE</a>"; …

Member Avatar for aaloo
-1
334
Member Avatar for momus

How to suppress end user ability to edit/add/delete text in a Text widget? (Python v3.2.. and tkinter) The point is to [B]suppress only the ability to change/add/delete text[/B] but not to castrate other features. Perhaps a NoEdit Text widged would be a better name. I've tried [B].text['state'] = 'disabled'[/B] and …

Member Avatar for momus
-1
1K
Member Avatar for thepriceisright

I want to write a program that determines the bill for car parking. I asked my friend to put together a description of what I want to do. Can someone look at this and give me a good code to do this? This program requires you to input information about …

Member Avatar for turt2live
-1
1K
Member Avatar for pce369

Hi, I am trying to undertake an exercise in which a payroll file is generated. Unfortunately, I seem to be having problems with respect to passing values to functions that calculate pay for various types of employees and tax rates. The code compiles and runs, but generates zeroes for the …

Member Avatar for pce369
-1
263
Member Avatar for asong

I am writing a program that contains python code that will decode an English message that was encoded using a Caesar cypher with a fixed rotation length. It makes use of letter frequencies in the English language to determine the rotation length.The program should also have some comments within your …

Member Avatar for TrustyTony
-1
425
Member Avatar for sanuphilip

Detail on command line arguments with sample program to simulate the following DOS commands using cmmand line arguments - 1. copy 2. type 3. del 4. dir 5. rd

Member Avatar for dospy
-1
342
Member Avatar for santhanalakshmi

The below coding is the javascript coding in which i have used [B]AJAX coding also[/B].its only pagenavigation coding. [CODE]function change(which) { if(which=="page1") { document.getElementById(which).style.borderBottomColor="white"; document.getElementById("page2").style.borderBottomColor="#778"; document.getElementById("page3").style.borderBottomColor="#778"; document.getElementById("page4").style.borderBottomColor="#778"; } else if(which=="page2") { document.getElementById(which).style.borderBottomColor="white"; document.getElementById("page3").style.borderBottomColor="#778"; document.getElementById("page4").style.borderBottomColor="#778"; document.getElementById("page1").style.borderBottomColor="#778"; } else if(which=="page3") { document.getElementById(which).style.borderBottomColor="white"; document.getElementById("page4").style.borderBottomColor="#778"; document.getElementById("page1").style.borderBottomColor="#778"; document.getElementById("page2").style.borderBottomColor="#778"; } else if(which=="page4") { document.getElementById(which).style.borderBottomColor="white"; document.getElementById("page1").style.borderBottomColor="#778"; document.getElementById("page2").style.borderBottomColor="#778"; …

Member Avatar for mytool.parekh
-1
5K
Member Avatar for draven07

...hello there....i really need help.. ..i'am now working on a web-based student information system through the use of PHP and MySQL... ...but i know that before i can go through the coding part...i have to study first about its business process...... ...the SIS that i've been working was divided into …

Member Avatar for draven07
-1
440
Member Avatar for astha_malik

hi, actually i wanted to draw two cubes programmatically in C# with only top,front and right portions visible.the top and right portion will have the same dimensions but depending on the parameter width provided by the user,the front portion will increase along the horizontal axis.One cube will increase along the …

Member Avatar for Shwetha Dali
-1
6K
Member Avatar for prismily

Hi,I Am writing JavaScript to display JSP pages in JavaScript tabs,all JSP pages displays dynamic data,all JSP pages are working fine if i run individually,when i try to make it as tabs jsp pages are not working.can any one help me to solve this problem. my JS code: [code] var …

Member Avatar for prismily
-1
886
Member Avatar for reojavier

honestly i was new to C and i just need a codes for finding the mean for grouped data. i hope this site can least help me. you have my thanks.

Member Avatar for reojavier
-1
926
Member Avatar for Tyler212

hi, I am currently taking a pyton programming class and having some extreme difficulties. I am in quite the pickle with these 3 prompts. I do not know where to start for any of these prompts; if anyone has any code or solutions to any of these three promps I …

Member Avatar for TrustyTony
-1
442
Member Avatar for glamourhits

Hey everybody I really need help on a problem in a Java code. Any help would be really appreciated. The problem is to : Write a test program that prompts the user to enter a11, a12, a13, a21, a22, a23, a31, a32, a33 for a matrix and displays its inverse …

Member Avatar for Ezzaral
-1
2K
Member Avatar for meli123

heyyy guysss....just trying to make a code to proove .999=1 any ideass?? :)) ty!!

Member Avatar for doug65536
-1
273
Member Avatar for diew

please, i am new to java and have this project on generating a university timetable using genetic algorithm. this software is to be a GUI based software... please can any one give me ideas about how i can go about it... thanks

Member Avatar for Taywin
-1
275
Member Avatar for now how abt tht

for the PDA: d=delta d(q0,a,Z) = {(q0,AZ)} d(q0,b,Z) = {(q0,BZ)} d(q0,a,A) = {(q0,AA)} d(q0,b,A) = {(q0,BA)} d(q0,a,B) = {(q0,AB)} d(q0,b,B) = {(q0,BB)} d(q0,c,Z) = {(q1,Z)} d(q0,c,A) = {(q1,A)} d(q0,c,B) = {(q1,B)} d(q1,a,A) = {(q1,e)} d(q1,b,B) = {(q1,e)} d(q1,e,Z0) = {(q1,e)} the cfg rules are: S -> [q0 Z q] [q0 …

Member Avatar for TrustyTony
-1
260
Member Avatar for daneuchar

hi all, i just started practicing android and sqlite database. i came across a very strange problem which i am unable to rectify.kindly help me out. Below i have out my DataBaseHelper class. (Description follows after the code block...) [CODE=java] package com.dialog.test; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; …

Member Avatar for peter_budo
-1
490
Member Avatar for agmolina90

Ok I am a programming student and need help with a problem, I already have most of it (so I don't need you guys to do my hw :P) but I am having problems with am, and I am not even sure if I am doing it right. [B]Problem:[/B] (The …

Member Avatar for Ezzaral
-1
10K
Member Avatar for april_er
Member Avatar for thatscrap12543
-1
399
Member Avatar for fsamu2001

1. Write a program that calculates gross wages for employees. The program should ask the user to enter an employee’s ID, hours worked and hourly pay rate. It should then calculate the gross wage for that employee and store it with this employee’s information into another file. The program should …

Member Avatar for rina6491
-1
977
Member Avatar for vipin.luhach

Sir I want to connect sql server database as a public in asp.net C# i'm connected sql server in Web.Config file but i don't know how to use as a public in full project help me sir

Member Avatar for vipin.luhach
-1
453
Member Avatar for rajatchak

well, i have been working on two projects.... in of the projects i am getting two errors which i am unable to rectify ....please please could you possible identify the two errors for me...?? i shall be really really grateful.. you can try running the below program in Microsoft visual …

Member Avatar for cherrymae.calma
-1
314
Member Avatar for robdb

can someone tell me how this program works? I'm trying to learning C++ by reading some examples, and this one is one of them. [CODE]#include <iostream> #include <string> using namespace std; class Vigenere { public: string key; Vigenere(string key) { for(int i = 0; i < key.size(); ++i) { if(key[i] …

Member Avatar for gusano79
-1
2K
Member Avatar for BlackHawck

Look at this program compiled using [I]Turbo c++ 3.0 compiler[/I] Aim is [B]to calculate the factorial of a no[/B]. [COde]#include<iostream.h> #include<conio.h> long double factorial(int); void main() //main function { int inp; clrscr(); cout<<"Enter a positive no. "; cin>>inp; cout<<"factorial is :"<<factorial(inp);//displays factorial getch(); } long double factorial(int a) { long …

Member Avatar for Anuradha Mandal
-1
752
Member Avatar for waaliban

Hello friends, I want to write a javascript to list of all files in a folder including files in the subfolders. This is for the scorm purpose to list all the files. some examples are listing files but not listing the files inside the subdirectories. I want the file's full …

Member Avatar for nudelsalat
-1
28K
Member Avatar for gatomsgirl

[B]I get this notice when trying to get onto a blog I worked on Parse error: syntax error, unexpected T_STRING in /hermes/bosweb/web237/b2378/ipg.twopackedbagscom/wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php on line 91 It's a wordpress site through ipage. I customized the site but do not know much about coding at all. The facebook-like-box-widget is just a plugin …

Member Avatar for almostbob
-1
297
Member Avatar for silvercats
Member Avatar for satish.paluvai

hi, if any body knows please send the information about L value required error in c++. if anybody knows please send it to <email snipped>[EMAIL="satish.paluvai@gmail.com"][/EMAIL] satish.paluvai:?:

Member Avatar for Narue
-1
270
Member Avatar for Bobbysmile

Hello I an new to C++ and am making my first program from scratch that has a useful solution after a while debugging I notice a problem with a displayed item and so I change the the code and a new error comes up... [TEX]------ Build started: Project: A_Message, Configuration: …

Member Avatar for Bobbysmile
-1
502
Member Avatar for Vongola_Takeshi

Good Day! My professor in object oriented programming wants us to collect a JFrame form to a class.... he told us the code but it did not work...Hope you may help me...and thanks in advance [code]import javax.swing.JOptionPane; public class Firm { //---------------------------------------------------------- // Creates a staff of employees for a …

Member Avatar for Vongola_Takeshi
-1
9K
Member Avatar for ninelg

I have a csv file that needs to be imported into sql server using vb.net. I got it working with the following code with one exception: [code] Private Function ImportLeadFile(ByVal projectfile As String, ByVal sLeadFile As String, ByVal DATABASE As String) As Boolean Dim objConn As nsSqlClient.SqlConnection Dim ds As …

Member Avatar for t_karthik
-1
5K
Member Avatar for thamim.it
Member Avatar for Netcode
-1
2K
Member Avatar for bd338

Hello software developers :) I've decided to try and "crack" a (very simple) program I've written myself, just for the sake of it. Here's the code: [CODE] #include <stdio.h> const int serialCode = 255; int guess; int main() { printf("Please enter your serial code: "); scanf("%d", &guess); if(guess == serialCode) …

Member Avatar for Narue
-1
615
Member Avatar for sivakumarl

Hi Friends, I want to convert given String of any language to Unicode.Please solve my porblem friends. Thank you cheers -------- siva

Member Avatar for peter_budo
-1
635
Member Avatar for bondito

Hi, i am a computer science final year student, i was thinking of creating an online voting/polling system,the system could include surveys as well. I really need some ideas in designing the system and any idea you send to me will be highly appreciated.

Member Avatar for yeungn
-1
424
Member Avatar for T1205

This assignment will require you to develop a program that reads a series of positive and negative integers from the user and loads these values into an array. The program then calculates and outputs the average of the values read. You will develop the entire program from the problem statement, …

Member Avatar for WaltP
-1
477
Member Avatar for trungdang

Hi all, I have an ArrayList of similar objects. Now I have to split the arraylist into multiple arraylist based on a property of these objects. Here is the sample data set Arraylist: A{1, A} A{2, A} A{3, B} A{4, B} A{5, B} A{6, C} Result should be Arraylist 1: …

Member Avatar for ddanbe
-1
804
Member Avatar for zoraster01
Member Avatar for hirenpatel53

I am creating project for mlm company they want to tree of the members thes have anthe sub tree of that members so anybody have idea so please help me as soon as possible thanks in advance work will be appriaciated

Member Avatar for jonnylevy1
-1
1K
Member Avatar for andersonelnino

discuss how java programming languagues differs from procedurals programming such as pascal and c. 1.classes 2.objects 3.attributes 4.methods 5.pirvate,protected,public 6.encapsulation 7.interface 8.inheritance 9.polymorphism

Member Avatar for JeffGrigg
-1
311
Member Avatar for mowen85

I have a drop down box of a fixed width. That drop down box needs to contain some values that are longer than the desired width. I'm happy for those values to be truncated, but I would like to display the full text in a tooltip (one that I could …

Member Avatar for juliorodmax
-1
2K
Member Avatar for chinyereblos

<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html> <?php if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/pjpeg")) && ($_FILES["file"]["size"] > 20000)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " …

Member Avatar for leakbali
-1
1K
Member Avatar for nidajaffri

Write a program in C/C++/Linux to find the mean and then use that mean for further calculations. Make three threads to perform different task as follows: a) The 1st Thread will find the mean. b) The 2nd Thread will take the mean from the 1st Thread and display the numbers …

Member Avatar for nidajaffri
-1
2K
Member Avatar for duybk

Dear friends, do you know how to convert the following codes from C++ into C# ? Thanx for your helps Duy BK [CODE] #include <stdio.h> #include <stdlib.h> #define max 100 int isdigit(char ch) {return '0' <= ch && ch <= '9';} int isoperator(char ch) {return ch == '+' ? 1: …

Member Avatar for duybk
-1
4K
Member Avatar for annitaz

My code for the calculator is: calculator.h [CODE]#ifndef CALCULATOR_H #define CALCULATOR_H #include <QWidget> #include <QGridLayout> #include <QLineEdit> #include <QLabel> #include <QPushButton> #include <QLCDNumber> #include <QString> #include <QMessageBox> #include <QErrorMessage> class Calculator : public QWidget { Q_OBJECT public: //constructor Calculator(); public slots: //function to add the two numbers that the user …

Member Avatar for imolorhe
-1
363

The End.