132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for eranga262154

Hi all. I want to read and update a ini file to do some processing. Here is what I have try. [CODE] public static void main(String[] args) { // TODO code application logic here new ReadINIFile().readIt(); //new ReadINIFile().writeIt(); } private void readIt() { try { Properties pro = new Properties(); …

Software Development data-structure java
Member Avatar for riahc3
-1
2K
Member Avatar for lgbagabuyo

[code] public class Book { String title; boolean borrowed; public Book(String bookTitle) { } public void borrowed() { } public void returned() { } public boolean isBorrowed() { } public String getTitle() { } public static void main(String[] arguments) { Book myBook = new Book("Da Vinci"); myBook.name = "The Da …

Software Development java
Member Avatar for lgbagabuyo
-1
2K
Member Avatar for mr_maverix

Write a program that creates a two dimension matrix of size N x N (N is larger than 4). Through a menu, the user can choose to perform the following operation to the matrix. 1 - Rotate the matrix around the diagonal (function name rotateDiagonal) Example for 3 x 3 …

Software Development c matrix-multiplication
Member Avatar for mridul.ahuja
-1
306
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 …

Software Development algorithm c++
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 …

Software Development c
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); …

Software Development java
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 …

Software Development python
Member Avatar for jaclynn
-1
3K
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 …

Software Development python tkinter
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 …

Software Development c++
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 …

Software Development c++
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 …

Software Development python
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

Software Development c++
Member Avatar for dospy
-1
342
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 …

Software Development c#
Member Avatar for Shwetha Dali
-1
6K
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.

Software Development c
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 …

Software Development algorithm apple python
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 …

Software Development java
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!!

Software Development c++
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

Software Development algorithm gui java
Member Avatar for Taywin
-1
275
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 …

Software Development java oop
Member Avatar for Ezzaral
-1
10K
Member Avatar for april_er

anyone know how what is UInt in C++ mean to VB. I mean how to write in VB.net

Software Development c++ vb.net
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 …

Software Development algorithm c++
Member Avatar for rina6491
-1
977
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 …

Software Development c++ ios operating-system
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] …

Software Development c++ encryption
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 …

Software Development c++
Member Avatar for Anuradha Mandal
-1
752
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:?:

Software Development c++ email
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: …

Software Development c++ visual-studio
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 …

Software Development java java-swing
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 …

Software Development dataset file-system sql vb.net
Member Avatar for t_karthik
-1
5K
Member Avatar for thamim.it

hai, Is there any way to convert VB.Net project into VB6 project, pls help me..

Software Development vb.net visual-basic
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) …

Software Development assembly cybersecurity
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

Software Development java
Member Avatar for peter_budo
-1
635
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, …

Software Development c++ data-structure operating-system
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: …

Software Development
Member Avatar for ddanbe
-1
804
Member Avatar for zoraster01

can you give me some search engine code. i am using sql server .. thank in advanced

Software Development sql vb.net
Member Avatar for aldeene
-1
481
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

Software Development java pascal
Member Avatar for JeffGrigg
-1
311
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 …

Software Development c++
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: …

Software Development c# c++
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 …

Software Development c c# c++ qt
Member Avatar for imolorhe
-1
363
Member Avatar for abc88

i want to check whether the dates in a file are consecutive. that is if the dates are 7.10,2011 ,7.11.2011,7.12.2011 it should return true and if they are 7.10.2011,7.12.2011 it should return false.

Software Development vb.net
Member Avatar for Mitja Bonca
-1
673
Member Avatar for NetByte

Greetings to Everyone :cool: , I just would like to know how to run/launch/start the IDLE ide of python in linux? (In windows the IDLE ide comes part of the python download, I assume its the same for linux??! or not?!) I currently have installed ubuntu linux, its already got …

Software Development ide python ubuntu
Member Avatar for snippsat
-1
1K
Member Avatar for vinothcv

write a program that can be used to assign and book seats for a commercial cinema. The cinema has 16 rows, with 20 seats in each row. The seats at the mid-column (number 5 to 15) of the last 2 rows closest to the doors (row A and B) are …

Software Development c++
Member Avatar for Salem
-1
518
Member Avatar for mark_6

i need a code for this!! Z asterisk pattern!! plsssssssss The program forms the letter Z by printing n input character symbols on the upper line, n input character symbols on the lower line, and n input character symbols on the diagonal line. If the value of n is less …

Software Development c++
Member Avatar for sumant mahadik
-1
1K
Member Avatar for spothao

Here is some question i get from my friend recently ,it's a C++ programming question ,and i only managed to do some of it . So i hope can discuss these question over here , the way to do it.Thanks. Q1 . REQUEST FOR PROPOSAL When government ,military ,or commercial …

Software Development c++
Member Avatar for spothao
-1
275
Member Avatar for ILIAILIA

I am making databases and one of columns is bit(checked or not). an want to sum all the checked ones number field.how to find If is checked or not? Dim sum As Single = 0.0 For i = 0 To Table1DataGridView.RowCount - 1 sum += Table1DataGridView.Rows(i).Cells(4).Value() this is just how …

Software Development vb.net visual-basic
Member Avatar for ILIAILIA
-1
444
Member Avatar for Jaseem Ahmed

i have a project connected with sql server 2000... i want to generate the some reports, for that user should itself enter the dates or codes for reports.. i have created a data environment, called the tables. now in general tab, i have selected SQL Statement to filter my data …

Software Development sql visual-basic
Member Avatar for aktharshaik
-1
1K
Member Avatar for gecko_dev

Im a computer science undergrad student in my final year. its time for selecting my final year project. I have two projects in my mind which are as follows 1- create kernel for iPhone based on openiboot 2- create an iPhone to android code conversion tool The first project was …

Software Development android-development c++ iphone
Member Avatar for L7Sqr
-1
256
Member Avatar for hutzy

Ok straight to the point i have to do a code. The text or the word must have color and it is blinking but the text color should be automatic changing while it is blinking... I know how to put color amd make the text blinking but i don't know …

Software Development c++
Member Avatar for Ancient Dragon
-1
393
Member Avatar for vijaybrar

Hi I have hard time connecting the if else statement because my teacher is telling us to use this kind of if else if (statement) if (statement) if (statement) condition else condition("error") end if else condition end if else condition end if this is a simple betting game can you …

Software Development gaming programming-construct vb.net
Member Avatar for codeorder
-1
893
Member Avatar for symeramon

As written in the title, I need your precious helps... urgently... :(

Software Development vb.net
Member Avatar for symeramon
-1
357
Member Avatar for bhawna_5nov

i am facing problem with the button b 3 which is used here for encryption and is not producing any output.. can u help me with this plzz.. [code] import java.io.*; import java.security.*; import java.awt.*; import java.awt.event.*; import java.applet.*; public final class MsgDigestApp extends java.applet.Applet implements ActionListener { private Button …

Software Development encryption java
Member Avatar for masterofpuppets
-1
265

The End.