132,729 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 ![]() | |
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++ | |
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 | |
[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++ | |
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++ | |
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 | |
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 | |
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 | |
Hi friends, i want to know good books that are present to learn J2EE(java). can u please suggest me. Software Development java | |
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 … | |
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 | |
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 | |
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 | |
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++ | |
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 | |
| |
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 | |
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 | |
[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 | |
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 | |
I want to make a Tkinter button respond to a left and right mouse click differently. How can I do this? | |
How do you best swap the key:value pair of a dictionary? Software Development python | |
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 | |
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 | |
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++ | |
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 | |
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 | |
:?: 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++ | |
[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 | |
Does anyone know , how to do the conversion from Ascii to long double? Please provide one example. Many Thanks. Software Development c++ | |
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 | |
HI EVERY ONE I want TASM code to show the real time in the screen in a sample way thanks :-| Software Development assembly | |
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 | |
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 | |
Does anyone knows how can I count how many digits are there in a binary number? Any ideas??? Software Development assembly | |
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 | |
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++ | |
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 | |
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++ | |
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 |
The End.