132,726 Archived Topics
Remove Filter ![]() | |
I'm having difficulty figuring out how to append two user inputs into a list as a tuple. I would also like to call the list and enumerate the list (e.g., 0. dog_name:dog_breed). I'm not sure how to call display or if it is even written properly. Here's what I have … Software Development python | |
i am a beginner of using python,and i am doing an project about "Tic-Tac-Toe". well,the project needs very basci code.....however,i could not get it.... The following conditons are the project requested: 1.When the computer randonm selected a available number,so which means computer doesn have logic....the winner are user..... 2.user and … Software Development python | |
Hi, wich software do i need to download to start programming in java ? Software Development java | |
Create a text file called TOONS.TXT with the following data: Daffy Duck Daffy Duck Daisy Duck Fred Flintstone Mighty Mouse Minnie Mouse Porky Pig Yosemite Sam Write a program to find and display those names in the TOONS.TXT file that are repeated. Assume that the file has already been sorted … Software Development vb.net | |
hi everyone i got this error Cannot insert explicit value for identity column in table 'Patients' when IDENTITY_INSERT is set to OFF. i set identity to Yes in sql server 2005..whenever i run my code i get this error message here's part of my code [CODE]Private Function GenerateCaseNumber() As String … Software Development vb.net | |
Hi. Implicit: the compiler does the work for you Explicit: you have to specify what you would like the compiler to do. are the above statements true? I have just read on MSDN that an abstract method is implicity virtual. One is not implemented and one is, so is this … Software Development | |
I have a series of data files with large headers. Here is an example: [COLOR="red"]SpectraSuite Data File ++++++++++++++++++++++++++++++++++++ Date: Fri Feb 25 13:43:55 EST 2011 User: group Dark Spectrum Present: No Reference Spectrum Present: No Number of Sampled Component Spectra: 1 Spectrometers: USB2E7196 Integration Time (usec): 11000 (USB2E7196) Spectra Averaged: … Software Development python | |
Hi, Please see the below one : [CODE]#!c:/perl/bin/perl use CGI qw(:all); print "Content-type:text/html\n\n"; print <<EndOfHTML; <html><head><title>Print Environment</title></head> <body> <FORM action="sample.cgi" method="POST"> First Name: <input type="text" name="first_name"> <br> Last Name: <input type="text" name="last_name"> <input type="submit" value="Submit"> </FORM></body> EndOfHTML[/CODE] From this, i don't know to proceed. There are two text box with … | |
Hey can someone help me with a code to mask password. To print * when the user enter a value and when they hit backspace it takes back a *. Im having trouble figuring out the code Software Development c | |
Hey there :) :) :) I'm doing a "simulation" project for the first-come, first-served (FCFS) CPU scheduling algorithm. To give u an idea of what this is: CPU Scheduling is all about having a Scheduler determine which process should be allocated to the CPU next. It has many various algorithms … Software Development algorithm java motherboards-cpu-ram queue | |
A "normal" Delphi snippet: [CODE]Procedure help_me1(Sender: TObject); BEGIN {100 lines of code} END; Procedure help_me2(Sender: TObject); BEGIN {100 lines of copy and paste code} END;[/CODE] [COLOR="Green"]How can I make this so that I end up with ONE procedure with 100 lines of code?[/COLOR] [CODE]Procedure much_reuseable_code(choice:BYTE); BEGIN {100 lines of code} … | |
Here the val should print the max number but its printing some address. When i tried to print while in loop, it printed the largest number but in the next line it again printed the address. please tell me whats wrong. Thanks [code=c]#include<stdio.h> #include<conio.h> int main() { int arr[5][5]={ 2,4,8,11,15, … Software Development c | |
im really stuck with this program as i was sick when this unit was covered and havent a clue on how to write it *crys* and i dont get it done iv been told i cant do the course for next year dispite passing everything else. level 1 1. get … | |
This is very much a bioinformatics problem, so any bioinformaticians familiar with the eUtilities of the NCBI, your help would be much appreciated. I have the following code to get links from a Pubmed search: [CODE]use Bio::DB::EUtilities; my $factory = Bio::DB::EUtilities->new(-eutil => 'elink', -email => 'mymail@foo.bar', -dbfrom => 'pubmed', -cmd … Software Development perl | |
Hello all, This one's a bit of a cheaky one....and tricky. So i've managed to read a text file - that's brilliant. Now, I wish to select a random word from there where the text file looks like this: Blue Red Purple Pink etc. All I want to do is … Software Development | |
hi, i found a module called xlwt ([url]http://www.python-excel.org/[/url]) that can write to Excel. i want the code to read from a file (robert.txt) and then write to excel in a column. however, it seems that the output from this code is that it only writes to one cell in the … Software Development microsoft-office python | |
I need some help with the toupper code. [code] int main() { char pick; printf("A. Local needs\n"); printf("B. Local Service\n"); scanf("%d",& pick); switch (pick) { case 'a': printf("Hello World"); case 'b': printf("Hello Nation"); } getch() return 0; } [/code] How would i implement the toupper code so i could change … Software Development c | |
Sorry for the confusing thread title but im trying to make a fast food program on which the user will input the amount that he has, then he will check on what he wants, by using check boxes. There are 7 different check boxes with 7 different amounts of money. … Software Development vb.net | |
Hello I'm new to this forum and quite new to visual basic. I started editing an existing code (basicaly to learn vb) without any real previou experience. Well let's get to the point; I have a form that gathers data from db ordering by user ID (on click count). I … Software Development vb.net visual-basic | |
i posted my program below. i aim making a decrypting file for rot13. or rotation 13 so im using the memory address to change the capital and small 'A' to 'M' into 'N' to 'Z' and vice versa by using their memory location. but i don't know how to put … Software Development c++ | |
guys i have a serious problem my cmd is not under my control as a virus has taken the power. now i want to format my entire drives completely with some .bat file. i am unable to do it with windows disk coz the virus is very talented to come … Software Development shell-scripting virus-malware windows-virus | |
HI, Could someone kindly tell me how to change the x y position of an empty bitmap. Say I have a rectangle on the window now I want to position the EmptyBitmap according to x y position of that rectangle? Thanks in advance Regards Software Development python | |
I am a novice, so please don't be too technical ! I have written 3 separate scripts which all work OK. I now need to merge them into one big script. I would like to introduce a runtime parameter, to allow me to restart at script2 or script3. I would … Software Development shell-scripting | |
Hi i m new in c#. i want to my button enable when i select any item in list box. i m able to do it but when i deselect all the items in listbox so my button is still enable.i want to disable now when no item is selected … Software Development gui | |
Hi I am not a very experienced programmer, but I searched around and couldn't fint an answer to my question, so I am posting it here. I am trying to seach through a local directory and process all the files in that folder. The files are alle named "label" + … Software Development python | |
Hello! I was wondering if there was a command in C++, specifically visual C++ .net 2003, in which I can take what was partially entered in the console and save it to a variable before the user presses enter. I am creating a mini-irc and I want to store what … Software Development c++ | |
I am trying to learn C++ by myself using a book and want to work through everything it says. I am on a program that you have to write kinda like a cash register program that tells you how many 5's, 1's, quarters, dimes, nickles, and pennies you should get … | |
I don't mean to complain, but I have gone to forums, but not this one, and received e-mails, and e-mail and e-mails of useless codes regarding the tittle to my dilemma. Now, I am working on a C++ form, in 2008, where I click on an image and I can … Software Development c++ | |
Hello everyone I have an windows application proj which contains 4 to 5 forms and an database in it. One form performs insertion operation, other performs search operation and other form displays data from DB. Now how to find the total memory or the minimum memory required for this app … Software Development | |
Hiya I don't know what I'm doing wrong that getline() does not work for me. My program is not finished but this is what I got so far: #include <iostream> #include <vector> #include <string> using namespace std; struct Term { string word; string definition; }; struct Dictionary { vector<Term> term; … Software Development c++ | |
Hey I'm using jgrasp and the objective is to get the robot out of a maze and I have done just that but after the robot makes it out of the maze I need to have it print out how many spaces it has moved in each direction such as … Software Development java | |
There are nearly 150-200 char in the line from a file which i am reading but while writing to another file i want to make it 1000 chars padding spaces after few char from a file which i am reading. Can any one help me for the same Software Development c# file-system | |
hi friends, i have a problem with using vb.net application, i want to take backup of my database from my vb.net application so that user clicks the button and backup can be copied in a drive . Software Development vb.net | |
Hey i am currently really stuck on a school assignment. No rush i have plenty of time, but without a little help i am pretty much lost. The question is as fallows. Design a class named QuadraticEquation for a quadratic equation ax2 + bx + c = 0. (The book … Software Development c++ | |
[code]import java.awt.*; import javax.swing; public class ATMko extends JFrame { JPanel p1; JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14; JTextField t1; Container c= getContentPane(); public ATMko() { t1=new JTextField(" ",100); b1=new JButton("1"); b1.setBackground(Color.GRAY); b1.setForeground(Color.BLACK); b2=new JButton("2"); b2.setBackground(Color.GRAY); b2.setForeground(Color.BLACK); b3=new JButton("3"); b3.setBackground(Color.GRAY); b3.setForeground(Color.BLACK); b4=new JButton("4"); b4.setBackground(Color.GRAY); b4.setForeground(Color.BLACK); b5=new JButton("5"); b5.setBackground(Color.GRAY); b5.setForeground(Color.BLACK); b6=new JButton("6"); b6.setBackground(Color.GRAY); b6.setForeground(Color.BLACK); b7=new … Software Development java java-swing | |
Hello, I am trying to validate a response from a webservice that contains 3 tables with the same name: [CODE] ... <SUBTABLE3> content </SUBTABLE3> ... <SUBTABLE3> content </SUBTABLE3> ... <SUBTABLE3> content </SUBTABLE3> ... [/CODE] I am using the example on: [url]http://www.soapui.org/Functional-Testing/xpath-and-xquery-assertions.html[/url] The problem, the way I see it is when … Software Development xml | |
I have a main form with datagridview attached to the form. i calling datagridview when the form load, but am getting the 'property access must assign to the property or use it's value. Please help me correct the error. Attached is the form to help analysis the problem. thanks Gyamfi … Software Development dataset open-source vb.net | |
I'm new to C#.I have created a MySQL database. My problem now is to get the data from the database tables into text boxes and or combo boxes in window forms(visual studio 2010),allow for editing and send the edited values back to the database. if I select the account_no(primary_key field)...the … Software Development visual-studio | |
![]() | [B]I've tried out suggestions from several posts related to BGI Error (on daniweb n innumerable sites)but it just doesnt get solved.. Whenever i try to execute (after compiling successfully) a graphics program it either exits out of C and into DOS mode or it gives an error "The NTVDM comp … Software Development c |
I'm having difficulty of inserting a value into a column. When I enter a "ID" number and a value in the "last name" text field, I get an error saying that the "mi" text field can't be an zero length string. So, i enter a value in the "mi" text … Software Development java java-swing | |
Somebody pls help i want the code.... Software Development java | |
please help me! im doing a date comparing project where in i compare the expiration date and the current date i put this on the general [CODE]dim mydate as string[/CODE] then at the formload [CODE]mydate = format(now,"mm/dd/yyyy")[/CODE] and also on my database id format the Expiration field as Date with … Software Development visual-basic | |
Let's say this: [CODE]print """ Wleomce... * To start the quiz press <s> * For more information quiz press <i> * To exit press <q> """ main_menu = raw_input('Your choice: ').lower().strip() if mai_menu == 's': print """\ * Press <n> to write yoyr name. * Press <l> to choice your … Software Development python | |
Hi everyone, I have small Problem. I have to take input as a string say blue,green,red, etc split this into blue green red respectively separately and then add those into an ArrayList Clr. I have written System.out.println(" Enter Color "); String input = br.readLine(); ArrayList clr = new ArrayList(); String … Software Development java | |
Hello, I've been searching for a library that comes with the necessary classes to manipulate id3 tags of mp3. I think there is a popular one called TagLib# but I don't know how to download it and implement it in Visual Studio 2010. I end up in the Novell site … Software Development novell visual-studio | |
I'm doing a a program that converts time from 24 hours to 12 hours . I'm doing it using the constructor in class time 12 taking one argument which is of type class time 24 and making the conversion . I've got an error and I don't know where is … Software Development c++ visual-studio | |
I have many things done so far in my project. However, in my switch statement it does not generate random numbers like it did earlier. You'll see what I mean. Other than that I need help with the scoring part of the assignment. Can anyone please help me? I feel … | |
Please Help, the user can only input today's date and tomorrow's date... How can i get it?? example valid dates are: Today's date: March 01, 2011 and tomorrow's date: March 02, 2011 if the dates are not valid then error.... Thank You... [CODE] Dim DD As String : Dim MM … Software Development vb.net |
The End.