132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for csaha

Hi Python Experts [B]I need to convert a code written on JAVA/JSP (Java Tags are also there inside JSP) to PYTHON. [/B] I have OK kind of knowledge in PYTHON, but dont have a muck knowledge in JAVA/JSP. Any idea how to approach? I am having tough time to achieve …

Software Development java java-jsp python
Member Avatar for G-Do
0
1K
Member Avatar for WarKirby

Using Borland Pascal- Making a program to read in names and sales figures from text file and then (amongst other things) find the average of the sales and compare all the sales figures to the average. The problem is, only the last entry in the text file comes out for …

Software Development pascal
Member Avatar for Lord Soth
0
80
Member Avatar for PCHelp

I found example how get process exe path: uses PsAPI, TlHelp32; // portions by Project Jedi [url]www.delphi-jedi.org/[/url] const RsSystemIdleProcess = 'System Idle Process'; RsSystemProcess = 'System Process'; function IsWinXP: Boolean; begin Result := (Win32Platform = VER_PLATFORM_WIN32_NT) and (Win32MajorVersion = 5) and (Win32MinorVersion = 1); end; function IsWin2k: Boolean; begin Result …

Software Development delphi pascal
Member Avatar for Lord Soth
0
495
Member Avatar for neo69potato

ok basically me and a friend are learning C language and we're totally stuck on this problem in the textbook and want to get around it before moving on. We're totally useless so a nudge in the right direction or any help at all would be awesome. heres the problem: …

Software Development c
Member Avatar for neo69potato
0
346
Member Avatar for Duke_0064

Does anyone have any suggestions as to how I could better this code.(Not too fancy). I'm supposed to use a switch statement. I think the concept isn't bad. But some things are off as far as my opitions displaying correcly. [INLINECODE]#include <iostream> using namespace std; int main () { char …

Software Development c c# c++
Member Avatar for Ancient Dragon
0
148
Member Avatar for pythonguy

I am using automation desk to run python scripts. This in tern executes scripts using v2.2 interpreter every time i m trying to use raw_input("Enter name ") it fires EOF Error. If i run it in interpreter separately it works fine.Its really basic functionality. FYI: Automation desk dont support script …

Software Development python
Member Avatar for pythonguy
0
184
Member Avatar for vamsi.rgiit

the specific problem is that there are no errors in the prob but it is giving segmentation fault.plz check it #include<iostream.h> #include<conio.h> void main() { struct mylist{ mylist * nxt; int val; }; int a,b,c,d=1,i,j;mylist * t; clrscr(); cout<<"Enter the no&the total no of numbers"; cin>>a>>b; mylist * head=new mylist; …

Software Development c++ linked-list
Member Avatar for Bench
0
92
Member Avatar for Eng_Girl

Hi, I'm new to this fourm I want to ask if anyone can help.I have a program for a GPS receiver it is in C ,for testing I assume the string of GPS message, it doesn't have any errors but it didn't run I don't know why. I used the …

Software Development c data-structure
Member Avatar for iamthwee
0
125
Member Avatar for rcwally

I have the worst time deciding on VAR statements. I am trying to write a program to establish a "bounciness" index equal to the original height divided by the bounce height of a ball. I get the basics of the FOR looping, but my VAR statements just don't make sense, …

Software Development pascal
Member Avatar for muhanena
0
243
Member Avatar for srishekh

could u tell me the problems in defining a 3D double array. that is double a[1000][1000][1000]; While running the program, it gives segmentation fault errror. Please tell me , wat should be the limit of the array or how to come arround this. Thanks and Regards srishekh

Software Development c
Member Avatar for andor
0
64
Member Avatar for musicmancanora4

Im using an ansi c compiler all the errors using gcc -ansi -Wall -pedantic should work without warnings and errors. Running on unix

Software Development c unix
Member Avatar for Ancient Dragon
0
90
Member Avatar for Duke_0064

Hello, I have this program here>> it's a random guessing number game. It works great the only thing I can't figure out, is how to display the [B]best score[/B] at the end of the Loops. The outer loop is suppose to keep track of the number of games played ( …

Software Development c c# c++ display
Member Avatar for dubeyprateek
0
150
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 …

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

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

Software Development image java oracle
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

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

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

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

Software Development display visual-basic
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> …

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

Software Development ide printer vb.net
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 …

Software Development c++ display
Member Avatar for dubeyprateek
0
99
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 …

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

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

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

Software Development vb.net
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:

Software Development java
Member Avatar for Phaelax
0
83
Member Avatar for comwizz

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

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

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

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

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

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

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

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

Software Development shell-scripting
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:

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

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

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

Software Development java linked-list
Member Avatar for hooknc
0
83
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 …

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

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

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

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

Software Development c data-structure display user-interface
Member Avatar for dwks
0
228
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 …

Software Development encryption visual-basic
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) …

Software Development visual-basic
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 …

Software Development api google google-api java
Member Avatar for jwenting
0
94
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!

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

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

Software Development c++
Member Avatar for WolfPack
0
453

The End.