132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SgtMe

I was wondering if it's possible for me to create a Digital Sound Processing (DSP) program using Python. Basically, I don't know anything about how I would do this and I would like somebody to point me in the right direction. I don't want somebody to write code, but I …

Software Development audio python
Member Avatar for SgtMe
0
374
Member Avatar for 24x24

This is homework. I have the code written, though. The thing works. Mostly. The assignment is to write a program that reads a list of integers from a file, prints the maximum value in the list to the console, removes the maximum value from the list, and stores the (smaller) …

Software Development java
Member Avatar for 24x24
0
195
Member Avatar for brixton d

hey what program when given 3 numbers outputs true if the numbers form a pythagorean triplet

Software Development python
Member Avatar for TrustyTony
0
113
Member Avatar for dobleseis

Hi. I'm new to python, and also have a poor english so...excuse me!:icon_question: Ok, I want to generate a dictionary like this one: [CODE]di={'word1':['tra1','A brief definition.'],'word2':['tra2','Another definition.']} [/CODE] from a txt file containing the word, its translation (tra#) and a definition of the word: [ICODE]word1 trad1 'A brief definition.' word2 …

Software Development python
Member Avatar for TrustyTony
0
233
Member Avatar for burntout

I am doing a sales report for a clothing manufacturer that calculates its total sales for the week.Sales values are inputed seperatly for each clothing item, but the amount of sales for each of the five weekdays should be inputed all at once.The app should calculate the total amount of …

Software Development vb.net
0
136
Member Avatar for parijat24

hi, my problem is that i have written script which read a file , take line by line split it and then store it into dictionary. and i am writing the values of dictionary on other file, the problem is that at the end of file , it doesnt print …

Software Development python
Member Avatar for vegaseat
0
136
Member Avatar for C#ENTHU

Dear All, Data comes to my serial port every 6 seconds. My application is capturing the data @ 1 data/6 seconds initially, properly and converting it into graphs. But as the time proceeds the capture rate becomes @ 2 data/12 seconds and again after some time @3 data/18 seconds. At …

Software Development c#
Member Avatar for C#ENTHU
0
310
Member Avatar for WDrago

All, I am using VB.NET in VS10. After I add items to a list box I'd like it to scroll down so that the most recent items are visible. I tried this with no luck: [CODE]StatusListBox.SelectedItem = StatusListBox.Items.Count - 1[/CODE] Can anyone tell me how to make the box always …

Software Development vb.net
Member Avatar for WDrago
0
213
Member Avatar for geekman92

hi i was wondering if (and how) you can create nested methods in c#. c# seems to do it with size and other things. something.Size returns a value but also something.Size.X returns a value. how can i do something like this myself? Thanks Ollie

Software Development
Member Avatar for geekman92
0
154
Member Avatar for Jcastillo2010

Hey, I was wondering how to have Fscanf loop and do multiple calculations for 4 different employee numbers with 4 different hours and 4 different pay rates. [CODE] #include <stdio.h> double pay_calc (double hours_worked, double pay_rate) { double tax,gross_pay,net_pay; gross_pay = hours_worked * pay_rate; if (hours_worked > 40) gross_pay = …

Software Development c
Member Avatar for redmaiev04
0
797
Member Avatar for Ninjaboi

Sorry if the title is a bit off, I couldn't think of what to call it. I've created projects in VS, and they all run perfectly fine. However, I now just want to create the source files then compile via the command line. I've done this rather easily, but now …

Software Development c++ ide visual-studio
Member Avatar for Ninjaboi
0
139
Member Avatar for rockerjhr

How do i know if two linked lists are set equal? if L1 and L2 are linked lists set equal meaning the set of values of the nodes in L1 is the same as the set of values of the nodes in L2 and order does not matter i know …

Software Development c
Member Avatar for L7Sqr
0
873
Member Avatar for zach&kody

My friend and I are in a computer science class, and we were wondering how to edit the contents of a jar file? What software would we use, lines of code we might need, or any other input would be greatly appreciated. -From our computer to yours'- zach&kody

Software Development java
Member Avatar for JamesCherrill
0
981
Member Avatar for error.exe.er

Hi every one ! Guys i am trying to do the Fibonacci numbers without an input just want it to number 8 then stop, But i want to do it using Do While i did it but , i am missing something i can't find what is it its won't …

Software Development java
Member Avatar for error.exe.er
0
100
Member Avatar for ajinkya112

Hey guys, Here's the thing. I have a database in MS access. I have made an application that has to access this DB. Now this database is on another machine. Lets call it pc1. pc1 and my machine are in same wireless network. But when i try to connect to …

Software Development microsoft-access
Member Avatar for Momerath
0
154
Member Avatar for Mark_48

Anyone got any idea how to sum values of a column instead of a row??? ie 1 2 3 4 2 3 4 5 4 3 2 1 [B]7 8 9 10[/B]

Software Development mathematics
Member Avatar for Mark_48
0
112
Member Avatar for brixton d

hey i would like a program to help me schedule my lectures and activities for dds. I would like to enter a date and an activity description and get as my output a text string e.g Input 03/13 work on dds assignment Output march the 13th: work on dds assignment

Software Development python
Member Avatar for brixton d
0
93
Member Avatar for newtoc#

Hi I am new to programming and to the c# syntax. Can someone explain to me what [B]this[/B] refers to in the snippet of code below [CODE]using System; using System.Windows.Forms; class MyTestButtonClass : Form { private Button myButton; // Constructor method public MyTestButtonClass() { myButton = new Button(); myButton.Text = …

Software Development
Member Avatar for Momerath
0
141
Member Avatar for Mark_48

I want to use the code i have and turn it into a function that i can call in the main program. I have to do a similar function a second time and want to be able to call them into the main program instead of having one big long …

Software Development
Member Avatar for RabidDog5150
0
154
Member Avatar for skatamatic

Well I don't have any specific question. I've been writing a chess game and can't seem to figuire out what the problem is with it! I tried debugging it for a few hours now and am about to give up altogether and rewrite it. The problem occurs seemingly randomly when …

Software Development c++
Member Avatar for robab
0
168
Member Avatar for TrustyTony

Here version of TicTacToe demo [URL="http://www.daniweb.com/software-development/python/threads/357974/1526474#post1526474"]code by wooeee[/URL] with packing style, which is more familiar for me. Also fixed indents and made it run also with Python 3.

Software Development python tkinter
Member Avatar for e-papa
0
760
Member Avatar for nitsakh

I want to write a simple linked list program with ASM . Here's the code which I have tried to write(presently only for single digit numbers) ! However,it works only for 3 numbers and that too has sometimes some errors. I am new to assembly language. So please help me …

Software Development assembly linked-list
Member Avatar for nitsakh
0
212
Member Avatar for apanimesh061

I wish to make a program which will read a wav file .... I have Visual C# 2008. Could anyone please tell me what should I study before getting into this audio/video part...????? Till now I have worked only with 'Console Applications'.

Software Development audio
Member Avatar for Saikalyankumar
0
262
Member Avatar for DimaYasny

Hi All, I am trying to start writing a wiki-ish CMS I've been contemplating for a while now. the content will include pics, html content, and should be stored in a database (the current pick is postgres) A few questions for the more experienced folk 'round here: 1. how do …

Software Development postgresql python python-django
0
155
Member Avatar for leo88

Hi, i have some problems with arraylist: [code] ArrayList arr=new ArrayList(); string a="1 2"; // how to split this and store to arraylist? [/code] How to split the string "1 2" and store into arrayList arr?

Software Development
Member Avatar for Saikalyankumar
0
111
Member Avatar for ITKnight

hi all, i m a newbie in this forum and vb.net application, but i want to learn this language. please help with your post. Thx all. :) this my question : How i can make my font to looks [B]Bold[/B], [I]Italic[/I] or [U]Underline[/U] in rich text box with vb.net ?? …

Software Development vb.net
Member Avatar for Jx_Man
0
548
Member Avatar for pragati_2010

I have one problem with '/' we have a field which contains multiple values and these values will come separated by a slash '/'. Now i dont know how to resolve when the values it self contains a '/'. For eg. <xsd:Value> Tiger / Lion / Deer</xsd:Value>----This is what is …

Software Development xml
Member Avatar for xml_looser
0
374
Member Avatar for xanawa

Hi I crated a datagrid view that gets the data from the database. Now i need to get data from 2 tables which have a relationship Item and Item Type because i want to show the items grouoped by the item type.. Is it possible?

Software Development
Member Avatar for Saikalyankumar
0
114
Member Avatar for xanawa

i am doing a toolbar using buttons and i would like to make my buttons teh shape of the image on the button such as a circle do you have an idea how?

Software Development
Member Avatar for abelLazm
0
87
Member Avatar for Rishikeshan

I am trying to dump the memory of my c++ app. [code=c++] #include <iostream> #include <fstream> using namespace std; int main () { ofstream myfile; myfile.open ("example.txt"); myfile << "Writing this to a file.\r\n"; myfile.close(); int *p; *p = 25; char b[] = "hello"; int a; for (a=0; a==-1; *(p++)){ …

Software Development c++ motherboards-cpu-ram
Member Avatar for Rishikeshan
0
272
Member Avatar for ubi_ct83

Hello, i query data from database using jdbc, and there will be a lot of data.how can i solve 1 by 1 of the data?currently, my code just solve the last data. this is the pseudo: [CODE] JDBC connection query data = ResultSet{userid,task_id} while (Resultset()) userid, task_id count++ end close …

Software Development java
Member Avatar for ~s.o.s~
0
89
Member Avatar for ekailan

I have 5 programs that works 100% I need to integrate them in one code using this code in the main [CODE] int A; cout<<" Enter Your Choice"; cout<<"1. Algorithm A ."; cout<<"2. Algorithm B ."; cout<<"3. Algorithm C"; cout<<"4. Algorithm D"; cout<<"5. Algorithm E"; cin>> A; if(A==1) { //call …

Software Development algorithm c++
Member Avatar for ziggystarman
0
144
Member Avatar for bahed121

hello I want to read images from a folder in my D:\ drive and place their names in dropdown box so that when i click on image name it opens in a picturebox. I am new at using c# can anyone help me in this regard thanks

Software Development
Member Avatar for bahed121
0
181
Member Avatar for dangari

Hi guys, My code below works well when it's assumed that PuTTY is resident on the Windows machine where this application is running, and have PuTTY connect to a Linux server on the local network. [CODE] //more code Runtime r = Runtime.getRuntime(); Process p = null; String s = "C:\\Program …

Software Development java
Member Avatar for dangari
0
1K
Member Avatar for Deepo

Hey everyone , I have a Mid semester Exam next week and I need to study the basics of programming a C++ programs. can anyone recommend or help me with some basics or link me something which could help me revise things faster and make it easier. i am sturggling …

Software Development c++
Member Avatar for jonsca
0
222
Member Avatar for TwistedVelocity

The program I was attempting to make was going to be 1.open notepad 2.fill 1 - 2 pages with text 3.save the file (named "1") 4.loop with a different saved name each time (IE named 1, then named 2, then 3, etc etc) I can open notepad, and loop that, …

Software Development python
Member Avatar for richieking
0
145
Member Avatar for gcclinux

Hi I have search the net to an extent that I can not more and I still have not found the answer, so I am someone here can tell me, I want to be able to list all local drives in a system, but excluding USB. Network, DVD, etc This …

Software Development java
Member Avatar for gcclinux
0
652
Member Avatar for Slyvr

When I run my program, sometimes it shows up and sometimes it just shows a blank frame. Is this because it's having trouble loading the canvas/buttons and all that stuff...aka do I need a loading screen and how do I do one in java?

Software Development java
Member Avatar for JamesCherrill
0
103
Member Avatar for skajava

I need program for get all user from the system or server ... Thanks in advance..

Software Development java
Member Avatar for mKorbel
0
91
Member Avatar for bharathisankhya

Hi All, Iam using RSF, I need to clear a form after user clicks on submit button using onLoad function in Javascript. Can anyone give me the solution. immediate help is appreciated

Software Development java
Member Avatar for Dean_Grobler
0
82
Member Avatar for taumang

this program does not read display smallest and largest values in order [ICODE]#include<iostream> using namespace std; int main() { int sum; int product; double average; int x,y,z; int largest; int smallest; cout<<" Enter Three Integers of your Choice "<<endl; cout<<" *********************************** "<<endl; cin>> x >> y >> z; cout<<endl; smallest …

Software Development c c# c++
Member Avatar for gl7
0
3K
Member Avatar for kchyn

Hi, I'm programming something for a micro-controller and I need a compiler that can turn c++ into .bin Anybody have any idea where to get one?

Software Development c++
Member Avatar for ziggystarman
0
366
Member Avatar for kipslem

Hello, Could someone please help me with this problem? I have developed a small application that calls up several powerpoint slideshows that are saved as .pps. The user interface screen has a textbox, when the user enters the file name of the powerpoint it is called up, but it opens …

Software Development office-suite user-interface vb.net
Member Avatar for kipslem
0
293
Member Avatar for kao

Firstly, apologies for the lack of commenting, it will be commented when the program works properly (lol), I'm creating a program which creates a test harness for 3 subjects, employees. This will display their name, ID and payrate per hour, it will then calculates the total amount in 37.5hours. Again, …

Software Development c++ oop
Member Avatar for rubberman
0
78
Member Avatar for SMITA6076

[B]For the error and my question, skip to the bottom. I just posted all of the code in case it's needed.[/B] [CODE]/*********************************************************************************** * * File: Customer.java * * Author: Austin Smith * * Date: 04/04/2011 * * Description: The Customer class handles all client information * such as name and …

Software Development gui java java-swing
Member Avatar for SMITA6076
0
254
Member Avatar for Butum

Hello again guys, I've created a bubblesort function to sort a string in chronological order, it is as follows: [CODE]void playerSort(int player, double ppg[]) { int i,j; char a[999][15]; char temp[15]; /* Converting LF into String */ for(i=0;i<player;i++) { sprintf(a[i],"%.2f",ppg[i]); } /* Sorting Array */ for(i=1;i<player;i++) for(j=0;j<player-i;j++) { if(strcmp(a[j+1],a[j])<0) { …

Software Development c
Member Avatar for yashsaxena
0
114
Member Avatar for Mkmd13

Hey I am almost done with my hangman game for java but Im having a tough time in getting the last bit of it. I have included ALOT of comments for you guys to help me out with it. [CODE]import java.io.*; import java.util.*; import javax.swing.*; public class Hangman { public …

Software Development java java-swing puzzle
Member Avatar for VernonDozier
0
183
Member Avatar for deepas

hi i need a dot net application that would run in active directory. application copies the new exe file from server, rename existing file & paste the copied file in client pc. how can it be done? thanks

Software Development client-server
Member Avatar for deepas
0
171
Member Avatar for lxXTaCoXxl

Okay so I've been running into trouble, I've figured out the majority of it. However, I can't seem to figure out how to save the location of a button. I could do it my way but my way is really ghetto and not recommended. The way I would do it …

Software Development algorithm
Member Avatar for abelLazm
0
215
Member Avatar for jimJohnson

I was working on this program a year ago and wanted to check something on it but I have some errors on it and was wanting to know if someone very knowledgeable and take a look at this and offer me and advice to make it run. I get some …

Software Development c++
Member Avatar for mike_2000_17
0
150

The End.