199,114 Archived Topics
Remove Filter ![]() | |
how to manage the dropdown list index when we remove one item from it | |
i don't understand the use of the os.popen function, i've used it to read things, for example: [CODE] >>> a = os.popen("netstat") >>> for line in a.readlines(): print line Active Connections >>> [/CODE] i understand that, but there is also a buffersize and a write ability, but i've played about … | |
This small program is neat: [CODE]import calendar calendar.prmonth(2006, 3) """ March 2006 Mo Tu We Th Fr Sa Su 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 … | |
hi, can anyone help me how to store the image in oracle using JSP. plz...urgent.. can anybody give me the sample codes.. thanks | |
Hi everyone, Is it possible to insert html into a styled document using the rtf editor kit? If it is possible could someone show me a simple example of how this is done Yours Sincerely Richard West | |
here are the program below reads five numbers, find their sum, and print the numbers in reverse order. #include <iostream> using namespace std; int main() { int item0, item1, item2, item3, item4; int sum; cout<<"Enter five integers: "; cin>>item0>>item1>>item2>>item3>>item4; cout<<endl; sum = item0 + item1 + item2 + item3 + … | |
here are the question: write a program that inputs a series of integers and passes them one at a time to funtion even, which uses the modules operator to determine whether an integer is even. The function should take an integer argument and return true if the ineteger is even … | |
currently, i have a form where a user can manipulate data. however, because i only want them to change "Supplier" of a product to a known one, i have created a second form. which they click (next to the supplier entry field.) this displays a list box ( with supplier … | |
Hi all! I´m having a problem, I'm reading from a txt file values (doubles) but my cout outputs the following: -9.25596e+061 -9.25596e+061 -9.25596e+061 -9.25596e+061 Press any key to continue When it should read this: 1.986772 2.607455 0.000000 0.000000 The code is: [CODE] #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <time.h> … | |
Trying to convert old QB program to VB.NET. The declarations block would help a lot. I know full well your not going to convert the whole program for me LOL. I only wish :-). 1 REM FILE: DUALFAZE.BAS, WRITTEN IN QBASIC 2 REM 3 REM Printer port control of 6-wire … | |
:confused: hi everyone as much involvement i get with C++ i alway get to a point where my fingers are tied, and here i am. This piece of code displays a date then the time selected by the user, wherei got stuck are: 1. i tried to validate (check) the … | |
Hi! I am not able to open any solution in VS.Net framework due to this error............. Unable to open Web Project '...'. The file path '...' does not correspond to the URL '...'. The two need to map to the same server location. HTTP Error 404: Not found Can anyone … | |
Dear Colleage, I've 20GB, Seagate (Model 91361U3). while I was upgrading the operating system form Win2000 to XP, it fails. I've tried to load XP OS again (New instalation). Again it fails to complete the instalation. Now the Pc couldn't get in to dual booted system. It just shown the … | |
I am writing a program that takes user input, converts euros or yen to u.s. dollars and should output the total dollars collected when the user chooses to exit the program. My program is converting everything okay. However, when I choose to exit the program and get the total it … | |
I am new to Java, in fact I am just learning. I am have captured the location of an ant object as it moves across the frame and printed it to the screen. I now want to capture those locations at various times and write them to a file as … | |
Hello, I have this for loop here, and everything is great except I can't figure out how to display 3 numbers per line instead of all number on one line. Can anyone help? Thanx! #include <iostream> using namespace std; [INLINECODE]int main( ) { int x; cout << "Numbers between 5 … | |
Hi all, I have a compaq M300 that I bought used less than a month ago.It has XP Pro installed and the battery held a charge for a few hours.Someone wanted me to demonstrate how to disconnect the docking station but I do not think it was powered down completely … | |
[COLOR=Blue]ALL APPLETS CAN HAVE AN INIT() METHOD. JAVA TREATS THIS METHOD AS SPECIAL. CAN YOU EXPLAIN BRIEFLY IN WHAT SENSE?[/COLOR] :mrgreen: | |
hi everyone, say i have a php code that works fine. How would i test it? can i use tomcat server to run the code or there is another way? ps im new to php :p thank you | |
Why cant we overload assignment operator using a friend function? Please help?? Thanks, comwizz. | |
Hi, I'm using Microsoft Visual C++ and I keep getting this error referring to this one line in my main file. The line of error is in bold. Header file [php] int f (int n); double e (double accuracy); double exp (double expo, double exaccuracy); [/php] Computation file [php] #include … | |
Hi, I'm new to this C++ stuff. So if anyone can help that would be nice. I have this program to generate a random number and a the user inputs a number from the keyboard to correctly guess the number that the computer randomly chooses. but the numbers are always … | |
is this program accurate? if not i need somebody dat can make clear directions to me on how to create this program with no errors or warnings. i got 2 errors n 1 warning on here so far after i compiled it. the code is in the following: //Program 2-2 … | |
Hello, i have a couple questions. im making a simple program were the user has to guess a number. One of my problems is that ounce they enter a number, they have to restart the program to guess again because it will quit if they guess it after the first … | |
:sad: I have to write a program using classes, and design an online address book to keep track of the name, addresses, phone numbers, and dates of birth of family members, close friends, and certain business associates. The out put menue should look like this: 1: To see if a … | |
hi, I have a problem. I am trying to make it so when i open up my program A jpg loads with it. I have a add-on called JPGloadthat i downloaded from the "update tool" in Dev c++ .when i compile the code that was included with it, gets a … | |
I have the following script snippet, adapted slightly from something I found online a couple of weeks ago: ftp -i -n $HOST >$TODAY/ftp.log <<END_SCRIPT quote USER $USER quote PASS $PASSWD lcd $TODAY mget * quit END_SCRIPT $TODAY is defined as such: TODAY="`date +%m%d%H%M`" It's just to create a unique directory … | |
Hi can anyone please tell me how to create a shortcut for the bcc32 compiler? I want to access it from my desk top Many thanx :mrgreen: | |
He friends, I would like to have some guidance over projects to take up in C++? I would like to take up a challenging project . Also I have changed my compiler from turbo C++ to Dev C++ but i cannot figure out how the output can be seen ie … | |
![]() | Does anyone no of any tutorials about string parsing. I couldn't find any good ones. God bless. :cool: |
how can i save the content of a linked list to a file, plzzz help me :confused: | |
Please tell me how to do unix system programming in C in windows. Is there any c editor which contains all header files required for unix system programming in windows? Please tell me. There is a problem in installing linux in my system. but there is a need for me … | |
Is there someone who could help me convert this to Tasm style. Thanks. [code] ; celsius.asm Nasm code ; Need this converted to Tasm style ; so I can help him BITS 16 ;16 bit instructions used ORG 100h ;start of .com program SECTION .text ;text section follows main: mov … | |
I've been programming in VB for a long time. I dabbled in C++ and C# for a while, I'm mostly involved in management right now and want to learn Assembly for a hobby. How can I get started??? | |
Sorry guys i apologize for posting large code but im trying to pass the int daysOfMonth[] = {31,28,31,30,31,30,31,31,30,31,30,31} variable array to the totalDays function so i can do some calculations. But i keep getting a seg fault. [code] int main(void) { unsigned month; unsigned year; unsigned long days = 0; … | |
Hi. I wanted to save an array elements to a text file using Microsoft Visual C++. But I cant seem to put the data into the saved file. I have this part of the code to initiate the save as dialog..Pls help.Thanks void DATADlg::OnSave() { CFile f; char Filter[]= {"DATA … | |
Ok i finished off the program i was making. now i just got a couple problems icant work out....spent hours doing this please help me with my last few probs... First thing is when i write the records to file, and then when i try to sort it...the display shows … | |
Ok, so it's easy enough to modify element CSS on the fly with getElementById. Problem is, you have to give a unique id to every single element on your page you want to be able to modify. I don't want to have to make over a 100 unique id's for … | |
Hi, As far as encryption goes, I am a newbie. Right now when I login, it will compare the user and password stored in my database. If both match, I will be able to login, otherwise I will be refused. The user and password are now stored in plaintext. How … | |
Hello can anyone please help me with some code, as you may be aware ASC means: Function Asc(String As String) As Integer Public Function Zeichen_OUT(Zeichen As String, wheelNr As Integer) As String 'go left, direction reflector (Umkehrwalze) Dim Z As Integer Dim offsetZ As Integer offsetZ = RotorOffset(wheelNr) - RingOffset(wheelNr) … | |
Hi everyone, Does anyone know where i can get hold of the source code for the following api JTextComponent.print(MessageFormat headerFormat,MessageFormat footerFormat) throws PrinterException This code is part of the new java second edition 6.0. I have tried searching google but could not find any of its source code. What i … | |
A former instructor (process technology) has emailed me with a question concerning a runtime error he is receiving. I am not a programmer and provided him with code snippets for his WebCT environment. He has emailed me and asked a question I cannot answer. He is receiving a runtime error … | |
Hey.. I've been trying for quite some time now to figure out how to display statistics from my phpbb forum on my main page which is just plain html. Now I've got so far that I have an iframe which will display a PHP file called member_stat.php ... The problem … | |
Write a program that, given a file of text (called poems.dat), will read in several lines of text, until end of file is reached and display a table indicating the number of occurrences of each letter in the alphabet in the text. For example, the phrase “This is great fun! | |
Hello! I'm new to the site and I'm having trouble compiling my program. I was hoping that somebody can take a look at my code and try to point me in the right direction. It's a charge account program that consist of using a repetition control structure. Here are the … | |
:lol: hello i want to show the time in a certain program in part of seconds but i don't know,can you help me in solve this problem? thanks | |
Hi, I'm taking my first course in CS. I am confused as to how to make the truth table. I know that FF = F or TF = F for an AND operator. How would I make a table for the following with 0s and 1s: Q. What are the … | |
Does anyone know about LISP Programming I am trying to make this program where I have 3 types of cars, which are ford bmw merc ford has focus and fiesta BMW has 1series and 2series and the merc has SK100 and SK200 well basically i am trying to put them … | |
is it possible to perform tasks: - translate spoken english into spoken mandarin chinese in real-time - play football (soccer) against human opponents to a reasonable level - perform a complex surgical operation without assistance using Artificial intelligence. is it possible to design an agent to perform such tasks. regards | |
Hi guys im having a slight problem passing the month and year variable to a function that i have created called int totalDays(unsigned year, unsigned month) now when i do a print inside the function it prints 0. Even though i have inputted using a key for example 6 for … |
The End.