132,726 Archived Topics
Remove Filter ![]() | |
This program print the verse of "charlie was a pidgeon" 10 times, and finishes off with a cute little surprise. THE DEATH OF CHARLIE SHALL OCCUR! [code] #by Christopher O'Leary #The death of Charlie! def print_charlieVerse(): print "Charlie was a pidgeon, a pidgeon, a pidgeon." print "Charlie was a pidgeon, … Software Development python | |
I have a text editor I've been working on, and I'm having some trouble with the undo/redo functions... It doesn't work, and I don't know what's wrong with it. I posted all of my code dealing with the undo function. I know it's a lot, but maybe you wont mind … Software Development java | |
Hello to all !!! I just joined this site 2day & I hope it will be some help 2 me. I'm new to JAVA & I have a professor who stated that we have to learn JAVA on our own. My prgram is due Wed. by 10am. The program is … Software Development java | |
Hi, How to convert excel to html in shell prompt Is there any unix command to do this ? so that I can use that in excel Vinay | |
Hello all, I've got an assignment due on thursday that is very easy, but I have one bug that is driving me nuts. The assigment is to just create a basic GUI with 1 label, a text box, and a few check boxes, so it's not that hard. The problem … Software Development gui java java-swing | |
I get the following errors in this code Undeclared identifier 'Height' (Line 28) '(' expected but ';' found (Line 51) I havn't been learning Pascal for long, but I can't get why this doesn't work. All of my procedures are declared. The "Weight" one works fine but the "Height" one … Software Development pascal ![]() | |
Hi, Please help me in finding out any good and quick ebook on Regular Expression on PERL . Vinay Software Development perl | |
Hi to all...Hope everyone is grand.I am currently working on a project that is supposed to connect to a .mdb(access) file and than bring out the project names in to the first listbox (listbox1) than when you click one of the elements in listbox1 you would get the selected projects … Software Development database-design microsoft-access open-source | |
Good day, I have been trying to add a new record to the Access Database that has already been connected to the Visual Basic Application (Using Visual Studio 2005) that I have been developing, using the DataSource and the DataAdapter objects, though I'm able to add an Insert query and … Software Development vb.net visual-basic visual-studio | |
I am new to scripting I want to parse a string in a loop eg A:B:C:D E:F:G:H and put them in different variable attr1 = A attr2 = B attr3 = C attr4 = D . . /* do processing with attr1, attr2, attr3 and attr4 */ then go to … Software Development shell-scripting | |
Greetings, Hey guys, I am trying to make a shell script that will scan for a certain 5 lines of text in a file, modify it by adding two lines in the middle and replacing that section of text in the file. For example read rc.conf for: Line1 Line2 Line3 … Software Development shell-scripting | |
Greetings Guys, I am currently creating a frontend for a dropable application in Mac OS, for the backend I am using sh/bash. Currently I have a for look checking to see if it a directory, however I have been unable to find a way to check and see if a … Software Development os-x shell-scripting | |
Here is the solution to converting decimal no. to binary using while loop this code is in c++ [code] #include<iostream.h> #include<conio.h> void main() { clrscr(); unsigned long int y,i=0,j=0,r,k[50]; unsigned long a,x,b[50]; cout<<"\nEnter a decimal no. "; cin>>a; y=a; x=a-y; while(y>0) { r=y%2; k[i]=r; i++; y=y/2; } int m=0; while(m<10) … Software Development c++ | |
I want to incorporate fields from 2 tables in a single crystal report. I have no problems in incorporating from a single table. But when it comes to >1 table fields in a single report, I am stuck up.. For eg.: Table 1 :"GENINFO" ---------------------- custno | mail id ----------------------- … Software Development vb.net | |
[COLOR=#000000]I am trying to develop a college project that will help a user who uses dial-up method to connect to the Internet to setup a connection on their computer. The same software will also guide a user to configure email programs such as Outlook Express or Microsoft Outlook (OE/ME) and … Software Development email visual-basic | |
Based off the Self defence class skit: [CODE]# Filename: Madlibs.py noun = raw_input("Type a noun: ") verb = raw_input("Type a verb: ") adjective = raw_input("Type an adjective: ") sound_disgust = raw_input("Type a random sound of disgust, eg 'Uuurh': ") noun1 = noun verb1 = verb adjective1 = adjective moan = … Software Development python | |
Hi I am new to Linux and shell scripting. I have made a script 'script1.sh' in a directory : /root/ansh/scripts I want to invoke this script from any other directory . I understand that for doing this I'll have to set the path of the script in some global variable. … Software Development shell-scripting | |
)Perfomance measure:Retrival of a fundamental memory,network capacity 2)Environment:User 3)Actuators:Screen display,files 4)Sensors:Keyboard,files(input of fundamental memories and probe) Implement te above agent in a programming language of your choice(prefeably Java or C++).The agent should store three fundamental memories a(cross),b(square) and c(circle).If the user inputs a probe the agent should respond by retrieving … Software Development java | |
Hi , Anyone help me out with a clarification. Can a 'C++ multithreaded program' be used with inline::c++ module in perl? Want to be sure whether multithreading can be done when using inline. thanks in advance karthika. Software Development multithreading perl | |
I'm new to java and i am trying to make the scanner function work, but it won't. I have the latest version of java and Mac OS X This is the info on the version that terminal gave me: java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) … | |
I been reading through Perl Objects, References & Modules, one of the exercises asks for the creation of a library with two simple subs. The 2nd exercise then wants to use the library that was just created to print out the date. The model answer is as follows: [inlinecode]#!/usr/bin/perl -w … Software Development perl | |
Im wondering how i could create controls at runtime? I have a access database that is accessed by the program, it contains info about the controls, like the size, the value, the type(combobox,text,etc.). Im wondering how i can create these at runtime, how to use their events(on value change, etc.), … Software Development | |
Hi!, I'm kinda new to shell scripting, Here's a problem that I have faced and dunno how to solve: First, I want my script to rename the files stored in a .txt file line by line(there's no pattern that I can use with mv, so I want mv to deal … Software Development file-system shell-scripting | |
I'm currently trying to create a program in delphi to call up a webpage; the page is written in php and records some data about its contents for record-keeping in my system. I'd like to be able to write the program so that when it opens it does the following: … | |
Hello..alllllI have to manage CVS repository using ANT, I will be given ear files and have to update this files in CVS.Can any one please help me out ??? Im new to CVS never used before :(How shall I make new repository, I dnt want any coding stuff just some … Software Development first-post java | |
The code won't even display the root, let alone the menus. Even when the conversion works, nothing else does, so what do I do? [code]from Tkinter import * root = Tk() def hello(): print "Hello!" def metres_to_centimetres(metre,cm): metre = input("Put in a distance in metres: ") cm = metre*100 print … | |
what does [I]transient[/I] method do? please help me out....... thank u. Software Development python | |
I really don't think that text adventures, even simple ones are within my grasp. How would you do that anyway, write a seperate Data file for each room or something? They seem very complicated, even the one in the Programs for Beginners thread. Bear in mind, the tutorial missed a … Software Development python | |
here is my code i get an error of call of non function in lines 29, 34, 39 and 44 apprecite help or an alternate code if possible here is code [CODE] int main (void) { char desiredgrade; double min_average; double currentaverage; double weight; double score; printf("Please enter your desired … Software Development c | |
Hi everyone, I currently have a JTextPane using a html document and i am trying to serialize the html document contained in the JTextPane to the disk but i have run into some problems. One problem lets say for example if i were to press the space bar five times … Software Development java java-swing | |
Hi, My problem is Am using SQL SERVER as database with VB.NET as Front End. I do have a database Known as Trackers with a Table known as Emp In Emp,I have the fields as Name,Surname,Emp_ID,Address. Here I have made the Emp_ID in the database..its Identity to "Yes"..so that the … Software Development vb.net visual-basic | |
I've encountered the following problem: Our program has two parts - the algorithm which is written in python (with numeric), and the GUI written in java. We want them to be able to work together - that means that the java part could ask the python for a calculation and … Software Development algorithm client-server gui java python windows-server | |
HEY i need to differente bettween the admin and employee admin can add delete and update but employee can only add but cannot delete how cani do this i want to use only one form for the table both shud use the same form but admin and employee options shud … Software Development vb.net | |
I finished My project and its working fine But only on my pc. If i try to test the program on another PC which does not have Visual Basic program installed on it, then it does not work and I get some errors,Some not working functions or objects. I know … Software Development visual-basic | |
I noticed that there are no tutorials for asembler in the forum like for example in c/c++ forum just code snippets. Or maybe there are? If someone know their existances please notify me. Software Development assembly | |
Hi ppl.. i need a big fat favour from you guys.. The program i given below helps to Encrypt and decrypt any file(EX: Notepad, word.doc, Access) any files.. Ive been ask to do another task along with it.. They have told me to disable t File- Edit-(containing in the Menu … Software Development encryption file-system microsoft-access vb.net | |
Please help, I am leaning C on my own so you are my only Hope :o I am using that "The C programming Language" E-book but it does not teach how to compile in linux - I was too long ago :rolleyes: when those Bell Lab guys wrote it :cry: … Software Development c++ | |
[LEFT][COLOR=black][B]I'm a final yr B.Tech student...[/B][/COLOR] [COLOR=black][B]I'm planning to do a project in JAVA...[/B][/COLOR] [COLOR=black][B]Can anyone plz suggest a few topics for the MAIN PROJECT...[/B][/COLOR] [COLOR=black][B]Its really urgent...[/B][/COLOR][/LEFT] Software Development java | |
hi..i need to create a hotel reservation system using java.. can anyone help me wit this......:sad: Software Development java | |
Hi,:p Im totally unfamiliar with python - and need a little help. Im trying to add one command to superkaramba theme - it must be done in python file I know how that command looks when given from command line (bash) command is: [B]dcop knotify default notify eventname appname 'You … Software Development python | |
Can you do these in the IDLE converter, or is it not powerfull enough, as I don't want to download 2 more programs just to expand my Python knowledge. Can I make graphics in the IDLE interpreter, and if so, is there a tutorial to help? Software Development python | |
It is very annoying, I have typed it as best I can, but option 2 doesn't work. Option 1 is to take the test in Test.py, option 9 is to quit, and option 2 is supposed to print all the questions and answers. This is the code: [CODE]true = 1 … Software Development python | |
Hi, I have a class that extends JFrame and displays a tabbedpane object. Each pane contained in the tabbedpane is its own jpanel class and the jpanels do not have access to the tabbedpane object. Therefore, I cannot use the tabbedpane.setSelectedComponet(panel). However the panel that wants to instigate a focus … Software Development java | |
Does Delphi have any way to escape symbols embedded in strings? I'm trying to write a database project, and have just run into a rather nasty problem; the db I'm working with, PostgreSQL, refuses to recognize equality to date functions unless the value being tested is contained within a pair … Software Development delphi pascal postgresql | |
Is there a code in VBA that will read data from a RS232 port and import it into the selected cell in excel or can I buy a program that will work. Software Development visual-basic | |
Can someone please help? I am trying to convert turbo pascal to VB. In the code below, path0, path1, path2 are defined as BYTE, and path as array[0..50] byte. My question is what is the equivalent in VB of Path1:=[] and path2:=[] ? Also, how do you test for IF … Software Development pascal | |
I am in need to do a c++ program which will take in argument from command line and return output.I need to convert this program to an exe in order to use it from my perl environment. Please give some hints or pointers on how to proceed?My major confusions are … Software Development perl | |
I am in need to do a c++ program which will take in argument from command line and return output.I need to use it from my perl environment. Is it better to convert this program to an exe ? Or Is it possible to make an exe out of the … | |
I am using the Common Dialog ShowOpen to select a file to open using VB6. How can I ensure that the control is centered over the calling form. If I use two screens often the dialog control opens on the other screen and is hidden behind other windows. Software Development visual-basic |
The End.