132,726 Archived Topics
Remove Filter ![]() | |
Hi, I have a problem when selecting values from some combo boxes. I have a form with two combo boxes next to each other, they both have the same data source, which is an array. I need to be able to select different values in each combo box. My problem … Software Development vb.net | |
Friends, I have an array of TEdits. They all use the same On Key Down method. How can I determine (from within my On Key Down method) which TEdit called the method ? Thanks, Software Development c | |
Hello, I usually don't complain too much. But this time I am getting mad. I just wrote a linked list, where 1. If the value was not present before in the list, it will be added. In this case, there is a capacity. If the new value increases the list … Software Development c linked-list | |
How do I delete the projects I don't want anymore? Software Development c++ | |
I like to create a structure in Python, something like: [code]solvent_name boiling_point melting_point flash_point [/code]I need to search and sort this structure. How can I best do that? Software Development python | |
I have a table for which I have to create a report.The user must only enter the dates(from and to).The date field is present in the table. Please help me to do this. Software Development visual-basic | |
am beginner in C..am trying out some questions in books n i want to write a small encryption program that will encode a word..cn any1one help?i want to convert a character such as 'a' to the next character of the alphabet that is 'b'...how should i proceed? Software Development c encryption | |
Hi everyone, Sorry to be a bother but everything programming seems almost foreign to me. Im trying to write a shell script (using 'sed' and 'tr' etc.) which replaces a string of text with another. That is the easy part. The part Im stuck with is making it case insensitive. … Software Development shell-scripting | |
Hi I am creating a button & textbox manually and have those codes in the form load event. Also I disabled the button & I have the number 1 in my text box. May I please have the code to enable the button when any number greater than one is … Software Development vb.net | |
Hi i hav a doubt could u pls explain me.............. wt s da sizeof(int*) , sizeof(int**),sizeof(int) in the following code [code=c] int **p; int *q; p=(int *)malloc(sizeof(int *)) *p=(int *)malloc(sizeof(int)) **p=12; q=*p; [/code] Thanks and regards. Software Development c | |
Hello, I'm having issues with my final total for charges. When I run my program, it either comes up with "0" or if I don't declare my variable, it comes up with a long string of numbers. My total hours works great, but not my charges. Can someone take a … | |
I am working on an assignment to get an intiger from user, find all prime numbers smaller that it, and show all of them which dont contain a '1'. for breaking the integer into digits, I am using " x / 10 % 10 " algorythem, but I as it … Software Development c | |
I have created a project using Jython (there was no bug in compling it by my IDE) I also have read the topic named [B]Py2exe help [/B](Ene Uran---Oct 23rd 2006 6:43 pm) and I can tell you that it really helped me so much. But in this project, I cannot … Software Development ide java-swing python | |
[COLOR=#000000]Hello Guys![/COLOR] [COLOR=#000000]I am preparing for SCJP certification and looking for good study material on the Web like SCJP model tests, sample questions and tutorials etc. Please help me out by sending some links related to this certification.[/COLOR] Software Development java | |
Hi, I've just installed python & wxpython on my university computer. I went to run a script that was working just fine on my computer at home last night and i am greeted with this message: [quote] Traceback (most recent call last): File "C:\Documents and Settings\d22601\My Documents\Project_4\Python Files\Sequence Driven Controller.py", … Software Development engineering python | |
I hav one doubt regarding post decriment,the code in c is as follows............. void main() { clrscr(); while(i--!=6) i=i+2; printf("%d\n",i); getch(); } I know the output is 5, but i read in a book dat the post incriment or decrement operators are evaluated after reaching semicolon(;).....but in while condition,the ondition … Software Development c first-post | |
Now I am looking for the best way to reverse the digits in an integer. For instance x = 12345 should become y = 54321. Software Development python | |
Please help! I know I don't post here much, in fact, I don't post here at all, but this does not mean I am just some noob trying to get some easy code. I have been in programming for two years, and signed up to this website about the same … Software Development first-post java puzzle | |
what is wrong with this code? [color=#0000ff]int[/color][color=#000000] myFunction([/color][color=#0000ff]int[/color][color=#000000] b)[/color] { [color=#0000ff]int[/color][color=#000000] c;[/color] [color=#0000ff]double[/color][color=#000000] z = b;[/color] [color=#0000ff]double[/color][color=#000000] d;[/color] [color=#0000ff]int[/color][color=#000000] y=0;[/color] [color=#0000ff]while[/color][color=#000000] (d<0)[/color] { d= (z/pow(10,y)); c = ([color=#0000ff]int[/color])d; c = c%10; [color=#0000ff]if[/color][color=#000000] (!(c=1))[/color] ++y; [color=#0000ff]else[/color] b=0; } [color=#0000ff]return[/color][color=#000000] b;[/color] } The compiler gets 3 erros of the pow(): - math.h(575): … Software Development c | |
Alright well this is supposed to be a basic Geometry calculator that uses set formulas to identify the "chosen" property of the figure by just pluggin in #'s that are used in that formula. I have to admit I'm not expirienced at all in C++ and probably made a ton … Software Development c++ | |
[COLOR=red][B]HI pals !:lol: [/B][/COLOR] [COLOR=red][B]i really need some projects and their details on java![/B][/COLOR] [COLOR=red][B]i think that u people will help me out![/B][/COLOR] [B][COLOR=red]so,waiting for your response!:rolleyes:[/COLOR] [/B] Software Development java | |
I have a assignment with these requirements: Please begin stage 1 by writing a program that creates an output file. Name the file using your userid followed by .dat. For example, I would call my file “angelesm.dat”. The file should contain all of the multiples of 5 from 0 to … | |
My fiance is having a birthday in less than 20 days. I am therefore trying to create a program for her (trust me, it is not intended to be the only gift) to play around with, and hopefully enjoy. The only problem I am having so far, is that when … Software Development first-post gui python ![]() | |
Hi, I have a card class and deck class. The cards are in suitList rankList. I call the cards from a file cards.txt and split them into the above. I need to import the cards.txt and then shuffle them. I have the following code: def shuffle(self): import random nCards = … Software Development python | |
I am trying Vegaseat's suggestion in one of my threads to use shuffled lists for combat in my text adventure. He suggested creating two lists, myhit_list[1, 0, 2, 0, 3, 0, 0, 1] and monsterhit_list[1, 0, 2, 0, 3, 0, 0, 1] and using random.shuffle(myhit_list) and random.shuffle(monsterhit_list) iterated with "I … Software Development python | |
Hi, I finding difficult to execute this program. The wx.Notebook i created is coming on the splitted frame(self.p2). How do I that. I am started to learn wxPython, and when I run the code, the code doesnot close gracefully, it throughs me an error. "pythonw.exe has encountered a problem and … Software Development python | |
Hey guys, I'm making a CMS for my website with python. I was wondering if anybody could give me some insight on (perhaps) an OS function that will copy a file from one folder and 'paste' it in another. thanks!:cheesy: Alright...I couldn't find anything as far as the os module … | |
Hi guys! Im new to this forum so go easy on me :-) I've got a background in C programming and have recently moved to Python for a GUI project im working on. So far im loving it - compared to VC++ wxPython is pure bliss. Im having a slight … Software Development engineering gui python | |
Hi there, I'm new to this sqlserver package. Is VB6 can able to work with this package like connectivity issues?. Can somebody advice me about this because my previous experience is purely on ms access database as backend front end vb6. thnx in advance.. newvbguy Software Development visual-basic | |
![]() | I'd like to flip the keys and the values in a dictionary. Say I have this dictionary: [php] positions = {'secretary' : 'Jessica', 'IT manager' : 'Matt', 'sales worker' : 'Linda', 'boss' : 'Chris'} [/php] and I want this: [php] employees = {'Jessica' : 'secretary', 'Matt' : 'IT manager', 'Linda' … Software Development python |
Hello I need to work out some parallel port output signals. I found a short program to test bits on that port. It tells I need to set the permission with ioperm() as this: [CODE] #include <asm/io.h> #include <iostream> #include <cstdlib> #include <unistd.h> #define base 0x378 /* printer port base … | |
Okay, I just learned that in order to call a program I made in python, say, myfile.pyw, into a seperate program (say, other.pyw) I would use [code]execfile('myfile.pyw')[/code] instead of [code]import myfile.pyw[/code]. I did that, and get one of those ever so helpful traceback errors saying that 'start', the user input … Software Development python | |
Hi, I have a list view report style. Im trying to sort by click on a header, and it works fine, but it sort only the items, and I would like to have ability to sort also subitems (like in Windows explorer when user click for example [B]size [/B]of header). … | |
My custom error pages (via.htaccess) work for browser requests, but when I print out an error status code from a cgi script, it bypasses .htaccess. I can't see any problem with just reading in an "error page" and printing it to STDOUT... But, I have to use a Content-Type:text/html header … Software Development perl | |
Hello everyone :) I have a problem with Kraskal's algorithm. :sad: How it is possible to choose the node I want to start with to build minimmum spanning tree? Thank you for ansvering :) [code=c] //implemented using sets concept #include<iostream.h> class kruskal { private: int n; int graph[10][10]; int tree[10][10]; … | |
hi, i am making a gui, which looks like excel sheets. i want to give the user the facility of adding rows/columns at the run time. there is some initial size, but that can be increased any time during the executation of the code. what i have tried, is that … | |
Hi, I'm a newbie. Is there any way to record packets sent by an external program (like WPE) and then store the sent data? Thank you. Software Development c | |
Hi, I'm making a program that is has to send texts from textboxes to a external device wich shows them on leds. But the LED's cant show every character(takes to much time :P), so i'm tasked to make a filter on the textboxes to check if they contain any invalid … Software Development c++ visual-studio | |
Hi, I have a class for Cards, that the suits and ranks are placed in suitList = ("Hearts","Diamonds"... rankList = ("","Ace","2"... however I need to read these values from a file instead. Once I read the file I need to be able to sort the suits and ranks then print … Software Development python | |
This forum is excellent. I've doing this practice project in drawing PostalAddress GUI i created the jpanel and jframe also PostalAddress.java file but its sems i got lots of error every time i modify it please take a look and help me i've shown lots of effort thanks guys. // … Software Development gui java java-swing | |
Hi, I need some help on how to read a file 2 h 3 s 6 d Ace s ... Importing this into Python and then sorting and printing in order. I have done some work, yet I can never seem to get the data to Python and split it … Software Development python | |
Hi, I have the following code working fine. What I would like to try is when n cards are randomly selected, to print the cards in a graphics window. I want to add a new class draw(self,win,center) that displays the card. I have a set of bmp cards. [php]# Import … Software Development python | |
hi these days im trying to use ANT build tool. but when runing a given example in ant documentation it will give an error build process is success when try to execute the following target [COLOR=Sienna]<target name="run" depends="jar"> <java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/> </target> it will give the following error <target name="run" … Software Development java | |
Hey, I am trying to create my text adventure geared towards all of the frequent posters on daniweb's python forum, just alittle something to have fun with. But, it isn't going as planned. I used vegaseat's suggestion for combat, shuffling lists randomly to randomize hit/miss results. I think I did … Software Development python ![]() | |
i need to print a wildcard * in the output . a program that takes a string as command line argument prints all the files in the directory instead of *. can u help me? Software Development c++ | |
What is the most efficient way to spell a string in reverse, for instance s = "banana". Software Development python ![]() | |
ok, i been tryin to get my head around this all weekend but im useless at it. i have the sollution but its saved to my laptop which i left in uni and is now missing!! but im trying to write a program which allows the user to input 3 … | |
Hello! I am first year student and i really need your help with writing very simple assignment! I am sure that this will be easy to solve for you! I have done something but it is not working! Can you check why?: Division of text into sentences. Write filter that … Software Development c | |
i get this error when trying to run my program. Traceback (most recent call last): File "C:\Python24\secretgarden.pyw", line 12, in -toplevel- denaystart() File "C:\Python24\secretgarden.pyw", line 7, in denaystart prompt_login() NameError: global name 'prompt_login' is not defined Software Development python | |
i'm a newbie to programming and i just wrote a program in 'C' but i'm having problem running it.It compiles, however, when i run it, it crashes on windows.Can anyone tell what i've done wrong?? if possible give me a solution... converter.c [code]#include <stdlib.h> #include <stdio.h> #include <malloc.h> #include <string.h> … Software Development c ![]() |
The End.