199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ankurahuja1
Member Avatar for ankurahuja1
0
76
Member Avatar for a1eio

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 …

Member Avatar for vegaseat
0
3K
Member Avatar for bumsfeld

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 …

Member Avatar for vegaseat
0
919
Member Avatar for teman_siber

hi, can anyone help me how to store the image in oracle using JSP. plz...urgent.. can anybody give me the sample codes.. thanks

Member Avatar for jwenting
0
81
Member Avatar for freesoft_2000

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

Member Avatar for jwenting
0
103
Member Avatar for dors_zone

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 + …

Member Avatar for Narue
0
127
Member Avatar for dors_zone

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 …

Member Avatar for dors_zone
0
105
Member Avatar for skalra63

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 …

Member Avatar for skalra63
0
120
Member Avatar for gampalu

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> …

Member Avatar for gampalu
0
142
Member Avatar for GaryR

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 …

Member Avatar for GaryR
0
307
Member Avatar for pete0

: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 …

Member Avatar for dubeyprateek
0
99
Member Avatar for rajni11

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 …

Member Avatar for rajni11
0
165
Member Avatar for benyam_dessu

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 …

Member Avatar for tatvasoft
0
121
Member Avatar for warriorone357

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 …

Member Avatar for warriorone357
0
106
Member Avatar for Hal

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 …

Member Avatar for AstroNox
0
205
Member Avatar for Duke_0064

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 …

Member Avatar for Duke_0064
0
85
Member Avatar for jrhaines

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 …

Member Avatar for jrhaines
0
153
Member Avatar for cczak

[COLOR=Blue]ALL APPLETS CAN HAVE AN INIT() METHOD. JAVA TREATS THIS METHOD AS SPECIAL. CAN YOU EXPLAIN BRIEFLY IN WHAT SENSE?[/COLOR] :mrgreen:

Member Avatar for Phaelax
0
83
Member Avatar for sam1

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

Member Avatar for bbb777b7
0
113
Member Avatar for comwizz

Why cant we overload assignment operator using a friend function? Please help?? Thanks, comwizz.

Member Avatar for SpS
0
668
Member Avatar for mwo0002

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 …

Member Avatar for mwo0002
0
307
Member Avatar for Duke_0064

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 …

Member Avatar for Duke_0064
0
107
Member Avatar for leedurr

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 …

Member Avatar for Bench
0
234
Member Avatar for fitfool

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 …

Member Avatar for Bench
0
73
Member Avatar for cczak

: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 …

Member Avatar for Bench
0
170
Member Avatar for fitfool

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 …

Member Avatar for fitfool
0
102
Member Avatar for neko128

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 …

Member Avatar for alc6379
0
118
Member Avatar for Vagabond

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:

Member Avatar for Vagabond
0
89
Member Avatar for comwizz

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 …

Member Avatar for Narue
0
186
Member Avatar for iamthwee

Does anyone no of any tutorials about string parsing. I couldn't find any good ones. God bless. :cool:

Member Avatar for hooknc
0
121
Member Avatar for danes_h

how can i save the content of a linked list to a file, plzzz help me :confused:

Member Avatar for hooknc
0
83
Member Avatar for harrypotter

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 …

Member Avatar for Lord Soth
0
171
Member Avatar for deutsch

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 …

Member Avatar for Narue
0
278
Member Avatar for extofer

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???

Member Avatar for Narue
0
126
Member Avatar for musicmancanora4

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; …

Member Avatar for Salem
0
160
Member Avatar for rontab68

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 …

Member Avatar for rontab68
0
157
Member Avatar for nabil1983

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 …

Member Avatar for dwks
0
228
Member Avatar for chigasakigaijin

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 …

Member Avatar for chigasakigaijin
0
212
Member Avatar for laifa

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 …

Member Avatar for laifa
0
1K
Member Avatar for helloworld

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) …

Member Avatar for helloworld
0
235
Member Avatar for freesoft_2000

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 …

Member Avatar for jwenting
0
94
Member Avatar for csnewsome

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 …

Member Avatar for csnewsome
0
142
Member Avatar for []{evin

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 …

Member Avatar for []{evin
0
182
Member Avatar for Kanvas

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!

Member Avatar for Lerner
0
208
Member Avatar for hu_4life

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 …

Member Avatar for hu_4life
0
2K
Member Avatar for mhm_ra

: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

Member Avatar for WolfPack
0
453
Member Avatar for webmasts

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 …

Member Avatar for Lord Soth
0
237
Member Avatar for coolman2006

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 …

Member Avatar for vegaseat
0
212
Member Avatar for benyam_dessu

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

Member Avatar for Lord Soth
0
130
Member Avatar for musicmancanora4

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 …

Member Avatar for andor
0
105

The End.