132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for babutche

Hi, I am trying to average student GPA. I thought I had this problem solved but then I ran it and the GPA did not come out correct. Can anyone give any suggestions? [CODE]import string import math class Student: def __init__(self, name, hours, qpoints): self.name = name self.hours = float(hours) …

Software Development python
Member Avatar for babutche
0
1K
Member Avatar for naknik

Can i have a link to a program that deletes or fixes errors on the computer, cause my computer is working very very slowly, thnxs.

Software Development
Member Avatar for zabina
0
99
Member Avatar for Mushy-pea

Hello everyone. I was just wondering if it is OK to do this: [code=perl] if ($beer == $wine) {# Some code} elsif ($beer == $vodka) {} else {die("Oh dear! Neither condition satisfied!")} [/code] i.e. have an empty block attached to an if, elsif or else. It might sound like an …

Software Development perl
Member Avatar for zabina
0
217
Member Avatar for sneekula

I took a mixed type list and set out to find the min and max values. The results are very surprising to me: [php]mixed_list = [11, 'Dick', 12, 'Mary', 7, 'Zoe', 9, 700, 777, 'Paul', 13456789] mn = min(mixed_list) mx = max(mixed_list) print mn, type(mn) # 7 <type 'int'> print …

Software Development python
Member Avatar for vegaseat
0
3K
Member Avatar for bhavna_816

I want to parse this expression PFolder=Personal Folders&SFolder=Inbox&Message=3 and want to extract Personal Folders from PFolder,Inbox from SFolder and 3 from Message,so that i can further use this things "Personal Folders,Inbox and 3"in the program. How can I do it?

Software Development perl
Member Avatar for bhavna_816
0
84
Member Avatar for Aia

Friends, I have a question: Many times in books and tutorials I'm sent to consult the Standard C Library reference. Sometimes, references are made to some Standard C function. Where do I see the Standard C Library in a compiler. I don't see any source code in my compiler that …

Software Development c
Member Avatar for Dave Sinkula
0
256
Member Avatar for only_asm

Hi guys! I need the code for 32 bit division in assembly (8086 architecture) ASAP! Kindly reply to this post! Thanx!!

Software Development assembly first-post
Member Avatar for Ryu
0
1K
Member Avatar for asifa1

I want to know how to do search for records in tables using Visual basic in MS access. Example let say we have a table name "abc" in the following format with the saved records like that Company code and About company are two text fields in tables. Companycode ................... …

Software Development visual-basic
Member Avatar for ~s.o.s~
0
82
Member Avatar for Dawnb

I understand that JAVA has upgraded or changed their modus of operation and one of my applications - HP C3500 Scanjet can no longer be accessed. It gives the following message:- Unable to start the application. The Java Virtual Machine cannot be loaded - Class not registered. I have deleleted …

Software Development java
Member Avatar for Bench
0
82
Member Avatar for sam_22

Hi everybody I am a beginner with C++ programming. And I need some help. How can I start with this program *********** [IMG]http://www.gidforums.com/images/gid/smilies/icon_smile.gif[/IMG] The program is using a text file of information as the source of the questions. The program starts by outputting a simple text information screen: Question Master …

Software Development c c# c++ file-system linked-list open-source
Member Avatar for John A
0
216
Member Avatar for neodishanku

Hi all, Can any one point to me how to develop a screensaver in winxp. What language shud i use to write the code. I have browsed the net and found some native code in c. Is this the way to develop. Has anyone played around with it? Looking fwd …

Software Development c
Member Avatar for gcs584
0
632
Member Avatar for flageolet

hi I'm new to C++ and was wondering if it is possible to create variables in runtime. example: If I ask how many patiënts have to be operated, the program should create a variable for each patiënt that can contain their individual data. thx

Software Development c++
Member Avatar for flageolet
0
95
Member Avatar for yuckadirri

is there a way to determine which MDIChild form is currently active, when all of them are open at the same time.

Software Development visual-basic
Member Avatar for ~s.o.s~
0
56
Member Avatar for apurv

[B][COLOR=blue]I have been working with C, in TURBO compiler.[/COLOR][/B] [B][COLOR=blue]Now I have started C++, in VC++ compiler.[/COLOR][/B] [B][COLOR=blue]But, now, I m unable to clear screen (clrscr() don't work), can't write at any desired location (gotoxy() don't work)[/COLOR][/B] [B][COLOR=blue]Can anybody plz tell me their equivalents ?[/COLOR][/B]

Software Development c++
Member Avatar for andor
0
112
Member Avatar for rbinc

I have to put the following block of code in a loop. It is to display a 10x10 array that will hold char values for a message encrypted in a transposition cipher. I have not been able to figure out a loop or a system of loops that can do …

Software Development c++
Member Avatar for WaltP
0
269
Member Avatar for mpakala

Hi Im trying to use the stl vector to implement a container. The container doesnot need any data and member functions. It should just act as a stack for the objects. But the objects are not homogneous.so I don t think i can use vector. How can I implement this …

Software Development c
Member Avatar for mpakala
0
159
Member Avatar for karmelody

Hello Everyone, Ild just like to take this oppertunity to introduce myself, Hi, im Kar'Melody! Hows it goin? and anyone has a code for a java vending machine I would really appreciate looking at it. Ive allready been working on it all day but I keep getting an annoying error …

Software Development java
Member Avatar for peter_budo
0
93
Member Avatar for manu1987

I have a problem...I don' know why this code doesn't work...can anyone help me ? PLZZZ .MODEL SMALL .STACK 100H .DATA prompt_msg1 DB 'Please input the first number: ',0 prompt_msg2 DB 'Please input the second number: ',0 sum_msg DB 'The sum is ',0 .CODE main PROC .STARTUP mov ah,02 mov …

Software Development assembly
Member Avatar for manu1987
0
90
Member Avatar for shobha

Hi friends, i want to know good books that are present to learn J2EE(java). can u please suggest me.

Software Development java
Member Avatar for jwenting
0
144
Member Avatar for mattyd

I have just begun reading a PDF on Assembly language. One of the terms it mentioned and encouraged the reader to research further is "pipelining". I looked this up and read a brief description on WikiPedia; a section of the article stated: "In [URL="http://en.wikipedia.org/wiki/Computing"][COLOR=#0000ff]computing[/COLOR][/URL], a [B]pipeline[/B] is a set of …

Software Development assembly dataset pdf
Member Avatar for Infarction
0
131
Member Avatar for buffy2

i hope to find help pleaz i want to criat a complex Report by geting data from access table database thanks

Software Development visual-basic
Member Avatar for dmetz
0
144
Member Avatar for seekerems

hi there experts!!!im a new member in this site and i want to know certain thing about vb: code of: 1.creating new password 2. adding new user 3. editing password 4. editing username i know this is very simple for you guys i hope you can help me on this …

Software Development visual-basic
Member Avatar for seekerems
0
119
Member Avatar for bops

Hi, I am trying to make a method inside a class that will remove the first 2 characters of a string of characters. Sounds simple enough, I though it was, but actually implementing it took a bit of thought and doesn't seem to work. [code] void classname::removeFirstChars(char * buffer) { …

Software Development c
Member Avatar for WaltP
0
281
Member Avatar for EJCBmore03

Hey guys I'm new to the variables in C++ I use TurboC++ program. If you could, please help me get rid of this one error that keeps popping up... It says "Declaration terminated incorrectly" and when I click on the error it tells me its the "{" at the beginning …

Software Development c++
Member Avatar for WaltP
0
178
Member Avatar for Day Brown

Or is there some other way to break out of the 640x400 or 480 limit, and have 8x16 characters on a 1024x768 screen?

Software Development assembly
Member Avatar for Day Brown
0
163
Member Avatar for jan1024188

is there any software that gives you souce from .exe programs?

Software Development c++
Member Avatar for John A
0
141
Member Avatar for richburg

I have created activex dll using vb6. I have registered it using regsvr32 on my clients pc. I call the dll functions from both VB exe file and Excel VBA. All works fine so far. When I Remake my DLL file with VB6 both the VB exe and the Excel …

Software Development visual-basic
Member Avatar for richburg
0
260
Member Avatar for x2012

Hi, im writing a piece of code that reads an HTML source code file. The code is meant to read the HTML and pick out stock symbols. It seems to work fine but as soon as it finds the first stock ticker, the program stops. Ideally, it should find all …

Software Development first-post
Member Avatar for _r0ckbaer
0
141
Member Avatar for Eko

[URL="http://img218.imageshack.us/my.php?image=sketchmh1.gif"][URL=http://img513.imageshack.us/my.php?image=sketchlw8.gif][IMG]http://img513.imageshack.us/img513/8739/sketchlw8.th.gif[/IMG][/URL][/URL] I have something like this : The reallocation of a piece of memory that works like a circular queues I've made a sketch explaining this ,I hope , very clearly I just need a clue,a tip,something that will get me started , because right now I'm stucked Thx

Software Development c
Member Avatar for Infarction
0
202
Member Avatar for sneekula

I was experimenting with the nested list example in thread: [URL]http://www.daniweb.com/techtalkforums/post246791-72.html[/URL] and was trying to search a nested list like that: [code]nested_list = [1 ,'Dick', 2, ['Mary', 7, 9, [700, 777, 'Paul']], 13] if 'Paul' in nested_list: print 'found Paul' else: print 'Paul not found' [/code]It always tells me that …

Software Development python
Member Avatar for vegaseat
0
106
Member Avatar for sneekula

I want to make a Tkinter button respond to a left and right mouse click differently. How can I do this?

Software Development python tkinter
Member Avatar for vegaseat
0
8K
Member Avatar for sneekula

How do you best swap the key:value pair of a dictionary?

Software Development python
Member Avatar for mawe
0
2K
Member Avatar for deepak_gurav22

Here is the code that I have written please check what is wrong, as I am not able to display Images on canvas. I am trying to create game. package PuyoPuyo; import java.awt.Canvas; import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JButton; import javax.swing.JFrame; import …

Software Development display image java java-swing
Member Avatar for deepak_gurav22
0
158
Member Avatar for 80s

Hi All :mrgreen: , was mucking about with a small programme I have which makes a triangle pattern when entering in a number. It uses nested For loops. I now want to create the same thing using functions as im only just beginning to learn the C language. I have …

Software Development c
Member Avatar for Aia
0
498
Member Avatar for gabs

I made an application in vc++ on VS2005, but it doesn't work on non-development PCs. I did the same program on vs 0.6 and it worked very well. but perhaps there is another way to do it, say with a setup or something of the kind?

Software Development c++
Member Avatar for jbennet
0
146
Member Avatar for jan1024188

Ok that might sound stupid, but Id like to know how to get box with error message.... I dont know how to explain what i realy want so here is a screenshot. [IMG]http://www.trendmicro.com/vinfo/images/worm_cydog_a_img1.gif[/IMG] This is error box...How to make it... Can you send me link with sources od this boxes …

Software Development c
Member Avatar for demoniacs2001
0
91
Member Avatar for jan1024188

What could I include in this function: [code] MessageBox( NULL, "Dolgcas s tabo, ko si tok zabit...grem js", "Message", MB_OK | MB_ICONINFORMATION );[/code] what can I insert instead of frist NULL? [php] MessageBox( NULL (here what could I insert instead of NULL), "Dolgcas s tabo, ko si tok zabit...grem js", …

Software Development c
Member Avatar for Ancient Dragon
0
110
Member Avatar for joydsouza90

:?: How do you put a bitmap (or possibly jpeg) image on the screen in Turbo C++ ? I just want to display the picture on the screen for about 15 seconds or so and then move on to another screen. Please Help.

Software Development c++
Member Avatar for ~s.o.s~
0
1K
Member Avatar for imhaf123

[COLOR=#0000ff]errr..juz to let u know how my design looks like (these below are the names given to the buttons in case u are wondering) btn11 btn12 btn13 btn21 btn22 btn23 btn31 btn32 btn33 btnPlayer1 btnPlayer2 using[/COLOR][COLOR=#000000] System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Collections.Generic;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.ComponentModel;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Data;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Drawing;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Text;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Windows.Forms;[/COLOR] [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] …

Software Development
Member Avatar for nikkiH
0
119
Member Avatar for nitinmoriwal

Does anyone know , how to do the conversion from Ascii to long double? Please provide one example. Many Thanks.

Software Development c++
Member Avatar for Nick Evan
0
406
Member Avatar for babutche

Hi, I did get the problem fixed with my "break" not working properly but now my ValueError will not work properly. If you enter a number that is not a floating number it should create a value error(as a matter of fact it did before I fixed my other problem …

Software Development python
Member Avatar for babutche
0
147
Member Avatar for abdullateef

HI EVERY ONE I want TASM code to show the real time in the screen in a sample way thanks :-|

Software Development assembly
Member Avatar for Purple Avenger
0
295
Member Avatar for ikhalid

Here is VB6 Code:[code=VB]Attachement = objMail.Attachments.Add("D:\message.doc.pgp")[/Code] I am trying to automatically attach a file with outlook email......objMail.Attachments.Add method is unable to read the file "message.doc.pgp" very first time when the code execute.....On second n later executions it start recognizing the file n work fine but y not the first time. …

Software Development email visual-basic
Member Avatar for ikhalid
0
82
Member Avatar for Mushy-pea

Hello everyone. I always run Perl scripts on a web server with [code] #!/usr/bin/perl -T [/code] at the top (i.e. taint mode on). I try to do the same when testing scripts on my local machine and this often works fine. But somtimes (when running from the command line) I …

Software Development apache perl unix web-server
Member Avatar for KevinADC
0
91
Member Avatar for kiks

Does anyone knows how can I count how many digits are there in a binary number? Any ideas???

Software Development assembly
Member Avatar for Purple Avenger
0
570
Member Avatar for Seten

Can anyone please give me some links for some video tutorials for Delphi. I browsed a lot(google), and only found sites, which are paid. Even a Delphi (amateur) tutorial which is not hard to understood would help me. thanks

Software Development delphi google pascal video
Member Avatar for radu84
0
389
Member Avatar for umairsaleem_88

hello!!! i need a tutorial or source code of any graphical programm (animation is preferred) in c++ using borland turbo c compiler v3. i shall be very thank full to any one who help me in this regard. thanks!

Software Development c++
Member Avatar for WaltP
0
114
Member Avatar for sivaslieko++

when I initialize the array in this way: const int size = 10; int myArray[size]; it works well. But I have to initialize it in this way: const int size =pow(2, Depth()+1)-1; int myArray[size]; in this case it throw an error which is "expected constant expression" What should I do??? …

Software Development c
Member Avatar for John A
0
151
Member Avatar for sivaslieko++

Hi everybody, for example I have such a tree in c++: 23 / \ 1 45 \ / \ 2 31 52 \ \ 3 234 \ 5 I can print this tree in this way by using breadthFirst-level method: 23, 1, 45 2, 31, 52 3, 234 5 But …

Software Development c++
Member Avatar for sivaslieko++
0
127
Member Avatar for babutche

Hi, I am trying to extend my "Student with the best GPA" program so that it allows the user to sort a file of students based on gpa, name, or credits. The program needs to prompt for the input and output files and also the field to sort on (gpa, …

Software Development file-system python
Member Avatar for babutche
0
468

The End.