199,113 Archived Topics
Remove Filter ![]() | |
TagLib Sharp seems to have no support for WMA. Anyone know for sure? Thanks. | |
I am getting one error in compilesation of servlet progrm.the error is package import javax.servlet.*; does not exist.how to rectify my problem | |
Hey guys, i'm having trouble with having to simulate a user entered number of parties and user entered number of guests. I am supposed to have a function with the prototype int party(int n) that will simulate one group at a time with n guests. I have to assign each … | |
Greetings all, Me and my friend are doing a group project and we encountered a problem lately. If you check out the site : [URL="http://www.meteor-idea.com"]www.meteor-idea.com[/URL] And you click on Login -> Signup -> Put everything blank and hit submit, you will notice an error message saying "Please insert userid." We … ![]() | |
![]() | How do I apply a function to a selective number of values in a list of lists using a list comprehension without filtering the values that are not passed through the function? Specifically, I have a list: [[4, 5, 6], [2, 4, 5]] And I want to square only the … |
Sorry for thee length but i have seven classes for this program. I took several functions and modified them to create a gui interface. I created a JFrame with 4 tabs that contain text only, then i have a 5th tab that has functional JButtons that when selected should prompt … | |
Hey guys, I have drawing program assignment and I'm almost done, but the two things I want to do are not mentioned in my text book and I can't seem to find a solution anywhere. What this Windows Form Program is suppose to do is be a form which has … | |
Pretty new to Python, but I have some background in C and VB. Just joined this site because I couldn't find anywhere else to get Python help! I'm working with VPython in the IDLE environment, and I'm having a problem changing a variable using a toggle switch and a function. … | |
Hi I am trying to find customers name that starts with "S" in my access database. If i run the following query in access its working fine. Select Lastname from employees where Firstname Like '*S*'; it displays two records which is right. if I use it in access it..its not … | |
Hi All, can anyone please tell me what's wrong in this code I'm trying to get some data from an access database and show them in a CheckedListBox The sql quary includes a variable('sport') and it's values is passed by the user when I run the following code an exception … | |
Hi, I just started taking a programming class and am having trouble figuring out why this wont program wont work correctly. The user inputs their coordinates and the program returns whether it is in quadrants 1,2,3,4 or on an axis or the origin. [code=c]#include <stdio.h> int main(void) { double xcoord, … | |
Hello, I have entered 6 random names into a text file. From my program, I accessed that file, and stored the 6 names into a vector. Now my question is, how do I delete every n number of names? I am having trouble figuring out how to keep "wrapping around" … | |
Here is the code: [CODE] if(i&~077)[/CODE] , where i is an int value. The condition is supposed to be testing whether i is within a proper range. But how? Thank you very much! | |
Hi, Do you know a good, free to download book about AJAX (pdf, djvu, chtm?, any)?? Plz, give a link!!! THNX!!! | |
I was creating a program that will add the value of the first 2 columns in datagridview when you typed it in then the answer will be displayed in the third column... I want to auto update the third column that if I delete the value of one of first … | |
I need a little advice on how best to read/recognize a number plate and for a program to recognise the digits of that number plate, which it will then run through a database. I have no problem with capturing an image from a live feed but i then need the … | |
Got this project and started with some guide, you guys think im heading in the right direction? also how would I bring up the 10 channels when the guide function is called? [QUOTE]The program always display the current mode of the Tivo: A. viewing live channel B. channel recording C. … | |
Can somebody help me understand how to retrieve user profile data when that user logs-in. I'm relatively new to this and am currently developing a site with javascript, ajax and php. For example in Facebook when a user logs-in their profile data is then displayed in their profile page. Im … | |
Hello all, is there simple way to check if a multimap contains a value, or am I going to have to loop through all pairs? thanks | |
I dont understand why it doesnt work like the first vector i can input ok but the program just ends right after that, like it wont let me input values for the second vector. [CODE]#include<iostream> #include<vector> using namespace std; int main () { vector<int> a1; vector<int> b1; cout << "Enter … | |
The program is an inventory control that is suppose maintain store merchandise details in random access files for 3 store locations each location saved to its own RAF. It also uses multiple forms for user to add merchandise, edit/view merchandise details and display an inventory report. Everything is working in … | |
I have having problems figuring out how to get this code to run properly. I cannot seem to get my do-while loop in the main method to repeat. Also, I am having issues with my getConsonants method. It seems to always count 1 less than there actually is. Lastly, not … | |
I was just wondering if it were possible to link a sound to an option selected in a scanner class in java? For example: [CODE]import java.util.*; public class GameTest { public static void main(String[] args) { Game myGame = new Game(); Scanner myScanner = new Scanner(System.in); int size = 30; … | |
Hi all...i need your help regarding to change a new day and date after clock shown 00:00:00 AM......can anyone help me....i'm desprerated....tq | |
I am trying to build a web application where users can review new projects each week. I have built an asp page with a table that is filled with summary information from a database about each project. I have included an onclick event in each cell that opens a detail … | |
Hello guys, I have been working on this code for a few hours and I almost have everything working right. This project that I am working on is basically a password creator where a person enters their password and the program checks it to make sure that it meets certain … | |
Hey guys, I'm currently working on an assignment to create a C++ Employee class that can compute the net pay salary of hourly based employees and also find the average net pay for a small company. As far as I know, I've done everything that I am required, but when … | |
I need another set of eyes to look over this code. I must be overlooking something. I cannot figure out what the compiler's complaint is. When I try to compile, GCC gives me this error: sim.cpp: In function âint main()â: sim.cpp:21: error: ârunSimulationâ was not declared in this scope Can … | |
hello everyone, I wrote some code on binary search in algorithms using c but here is my problem: [CODE] #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #include <ctype.h> /* TASK: Demo about static, linear data handling. Four basic operations are exercised: 1) find 2) insert … | |
Cn anybody pls help me.. i have develoed application which is using JSP and servlet bt i want to make it acc to MVC2.. | |
I've got a table in an html document im writing, and i have two separate cells which need to pull parallel information. For example, a book title and a summary. The book title and book summary need to be from the same book... Ok, so i have one array with … | |
plz chk my code to do currency conversion # include <iostream.h> # include <conio.h> main () { cout<<"Wellcome To VU Money changer"; cout<<"\n"; // data type initillizing char con,coninto,op; float amount; do { //discription print message on consol what program contains cout<<"Please select currencies that you want to Exchange :"<<endl; … | |
hi, if any one know that how to convert a [COLOR="Red"]excel file to csv[/COLOR] file with [COLOR="Red"]php [/COLOR]coding????? actually i want to make a site where user upload the data as a [COLOR="Red"]excel file format.[/COLOR] and when they clicked button the [COLOR="Red"]excel file is changing in csv file[/COLOR] first then … | |
Wat i need to choose in sql db tabel "Collation" to make posible to read russian letters please help THX | |
I'm having trouble with this code. I'm sure it's something stupid (I'm in a class for Java) so please forgive this Java Newbie. [code] package Student; import Entity.*; import ExceptionManagement.StudentException; import java.util.ArrayList; import java.util.List; import javax.swing.*; public class DataManagerBean implements DataManager { ArrayList<Student> students = new ArrayList<Student>(); ArrayList<Course> courses = … | |
here is my little code: [code] <?php $dir1 = $filex.'/88x31'; $filecount1 = 0; $d1 = dir($dir1); while ($f1 = $d1->read()) { if(strstr( $f1, '.htm' )) continue; if(($f1!= '.') && ($f1!= '..')) { if(!is_dir($f1)) $filecount1++; } } ?> [/code] how can i add more file extensions to this code to be … ![]() | |
could someone please help me in forming a loop as i am stuck... [CODE] def numbergen(): randomnumber = random.randint(0,100) print randomnumber def main(): Question = float(raw_input("Do you wish to play the Guess a Number Game?(Y/N)")) for Question: if Question == N: break else: print "randomnumber" main()[/CODE] | |
Hi Everyone, I have a page that displays information from a mysql database. The information is taken from the members table where the id is in the url e.g. [url]http://www.clancorner.net/tounament.php?go=MW2&[/url][B]id=2[/B]. And that works perfectly, pulls ou all the information i asked for. Unfortunatley i now need to just echo "Invalid … | |
the person to help me will have admin access. if someone knows how to do this please reply. | |
Dear All, I have search a lot of forum or blog for this problem and have yet come up with a solution.. Hope anyone can help me here... Thanks a lot!! I am using Ms Visual Basic 2008 Express Edition (vb.net) Here is my code: [CODE] Private Sub btnUpdate_Click(ByVal sender … | |
Hi, I need some help in converting the struct pointer to void pointer, since I do not want to expose the whole structure coming from one interface to the other. I need some help in coding [B]callSetInt()[/B] and [B]callSetString()[/B] methods in the below code. The set() method hides the structures … | |
[CODE]void Graph::writeShortestPaths (int first, ostream& outfile) { for (int i = 0; i < n; i++)// each vertex { currentDistances[i] = 999999; predecessors[i] = -1; toBeChecked[i] = true; } currentDistances[first] = 0; writeShortestPathsHeader (outfile, first); int pass = 0; while (moreShortestPathsToFind()) // see below { int minVertex = first; // … | |
Hey DaniWeb, I'm having a tough time with this piece of code: [CODE]string encrypt(string e) { for( int i=0; e[i] != '\0'; ++i ){ ++e[i]; if(e[i] == "{") { e[i] = "0"; } if(e[i] == ":") { e[i] = "a" } return e; }[/CODE] It should "encrypt" the string, using … | |
[code] #include <iostream> #include <list> #include <numeric> #include <algorithm> using namespace std; int main() { // create linked list of integers list<int> the_list; // input as requested cout << " Enter length of the list " << endl; size_t len; cin >> len; for(size_t i=0; i<len; ++i) { cout << … | |
Hi All, I could really use some help in sorting vectors, i know the collections.sort(x) method will sort a vector of numbers etc however i have a vector full of objects and i need to sort them; the object contains details of a website please find the fields below; [CODE] … | |
Hello everyone, Im new here. I'm not new to web design but a bit new to PHP. I really need some help with this. I have an email script that sends a bunch of user choices to me. The choices ware one or more and are sent to the email … | |
Hi guys~! Consider the following code: [CODE=Java] public void reset(int[] arr) { for (int i=0;i<arr.length;i++) { arr[i]=0; } } [/CODE] I know that regardless of what the actual array is before this method is called it will not change afterward because the method cannot modify it since it is not … | |
Maybe you could help me with the following code... [CODE=c] int main() { char foo = '?'; // foo is created on the stack. char* bar = "Hello World"; // where is bar created? // will the following result as a NOP or undefined behavior? free(bar); return 0; } [/CODE] … | |
hey, I need to make a program that • Define a default array size. the size HAS to be 15. • Define a function “ResizeArray” which virtually increase the size of an array, by creating a new array with the size of the old array plus the default array size … |
The End.