199,114 Archived Topics
Remove Filter ![]() | |
Hi Guys, We are trying to create a little servlet in Tomcat, which is capable to send audio files over http to an embedded media player. The definition of the player looks like: ... <OBJECT ID="Mp" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" TYPE="application/x-oleobject" WIDTH="0" HEIGHT="0"> <PARAM name="uiMode" value="none"> <PARAM NAME="ShowControls" VALUE="0"> <PARAM NAME="AutoStart" VALUE="1"> <PARAM … | |
I am working on a parsing a file . This is my problem. There are classes and subclasses. Classes/Subclasses are defined by attributes. The sub classes will inherit the attributes of its super class. For example: Employee(attrbts: name, salary) [INDENT]manager(attrbts: responsibilities)[/INDENT] [INDENT]clerks(attrbts: department)[/INDENT] Emp is a class with manager nd … | |
I want to know is there a way to display .tiff files on the web page directly? As html can handle jpg,gif,bmp, but how about tiff file? I tried to use <img src=abc.tiff> it pops up the download box on the browser. Thanks. | |
can any body help me to find cool topics for miniprojects in SWING like text editor or..... | |
Hello everyone Is it possible to use a variable for a vector name eg [code] MyVar.push_back(line); [/code] | |
Greetings again forum goers! I have another question abound with plenty of obvious nooble errors I'm sure. I am making a memory game(You know the old game where you turn over cards and try to match two in a row, and memorize previous locations etc. ) and this is the … | |
Hello, noob here. I just started taking a C++ class this semester and I've been understanding everything so far, but I'm sorta confused on the nested if statements. My homework is to have the user enter a number and it'll show the roman numeral. However whenever someone enters an invalid … | |
hey all, I just joined this community. I have been programming quite a bit in C/C++, however, this is the first time i am doing something like this. I have the Microsoft VC++ 6 package. The idea is to use the functions i have already written in the past( a … | |
hye... can anybody help me to make a program that will allow the user to make a list of the words that occur in the text along with a count for each word of how many times it occurs....tq.. | |
I am having a problem getting started on an assignment. I have to write a program for a mortgage calculator with a set dollar amount and a set APR. The instructor mentioned using pseudocode. Could someone please point me in the right direction. Thanks Very Confused | |
Just wondering if it is possible to do this? I am writing a program for a touchscreen monitor and would like an onscreen keypad. Is there any way to pass a key by pressing a button? For example, I press button '1' on the virtual keypad and I want the … | |
Hey, I am trying to install the Java sdk on my computer. I downloaded the newest version 5.0_04 and I installed it. It seemed to work up until the end when an error came up, saying it didn't install properly. Here is the error, "Java update cannot retreive version information … | |
[B]Please let me know that what's the component heirarchical structure, i.e, what comes first ...........window then applet or frame is pasted, then comes panel ,after that all GUIs. If I m wrong then plz tell. If I m right then also reply me, I am still confused[/B]. :confused: | |
Not a problem as such but am i asking too much....heres the current situation: I've got a multi -dimension array populated........ [php] char buffer[5]; // holds name char holdingArray[5][5] = //holds populating array , copies to buffer { "Jame", "Anna", "heya", "rand" }; [/php] ok as you can see the … | |
Instructions: Find the Big Oh for the times of excecution of X: = x + 1. You should justify the answer: I : = N WHILE I >= 1 DO BEGIN FOR J : = 1 TO N DO X : = X + 1 I = [I/2] END Thanks … | |
I've been creating a small program, thats work fine under windows xp, but fails on windows 2000 pro/server, and also windows 98. I need the software to work on also windows versions, etc 95 and ME. I can't install it as it is a check to ensure that various software … | |
how would i coppy only specific things out of a directory. say *.mp3. I am able to copy the whold directory but i only want specific endings. this is part of the copy code [code] try { Directory.CreateDirectory(targerDirectoryName); string[] files = Directory.GetFiles(sourceDirectoryName); foreach (string fileName in files) File.Copy(fileName, targerDirectoryName + … | |
First of all i need to say hi to every one .. i am new member here .. and i hope to get some help :P well i passed my official exams .. and i pass my entrance exam in the university .. to study computer engineering.. as i know, … | |
Hi New to the forum! I REALLY need help with a simple assembly calculator. Basically, the program is supposed to display a menu, obtain two numbers from the user (in the rang :confused: e of 0 - 9) and depending on the choice made in the menu add or subtract … | |
hello every body i have a search button just like in google or yahoo but my search button is connect from my access database table , basically search option is use in my site for product available for sale for example when customer type name of product in search option … | |
hey im new to this forum and new to programming and i got an assignment for a sales ticket generator and i clicked compile and it said variable burger might not have been initialized please help.... import TerminalIO.KeyboardReader; public class Resturant { public static void main (String [] args) { … | |
I'm new to swing, and was curious if anyone could point me in the right direction here. Cannot figure out how to make this repaint crap work, or if I'm supposed to be using repaint(), or what, to make this image get drawn to the background of my window. Here … | |
I am receiving error messages for this palindrome problem. I am reading in a file and outputting the results if it is a palindrome or not using stacks. Any ideas as to why I am receiving error messages below. [code] include <iostream> #include <string> #include <cmath> #include <iomanip> #include <fstream> … | |
hello fellows, I seem to have a little problem: I tried to use the function getattr([I]object[/I], [I]attribute[/I]) with two strings which is being read from a xml file as arguments, and seem to have a problem with sending the first one as a string. the function thinks that the string … | |
I need to make a project in C++(not very big) in my college....can you suggest me some good ideas.... I was thinking of implementing 10-15 algorithms with their complete complexity description can u give me some other ideas | |
Hi I want to replace "ta,at,an,bc" in main string {ta,at,an,bc,ta,at,an,bc,ta,at,an,bc,ef,ta,at,an,bc,ta,at,an,bc" with (ta at an bc)*.The result array should be "(ta at an bc)*,e,(ta at an bc)*". Can anyone give me some hint? Thanks in advance. | |
Hello, I've created a file and put datat into it, only problem is that throughout the operation of the program the file is "amended" and bits are added to the file. However I'm wonder if theres a way to delete the file contents so next time someone starts the appilcation … | |
In the function declarations, the argument identifiers are optional. In the definitions, they are required (the identifiers are required only in C, not C++). #include<iostream.h> void f(int); int main() { f(10); return 0; } void f(int) { } This works fine..where is 10 going??..how the compiler handles this?? | |
Hi, I am looking for a text justification algorithm that fully justifies the text. I suppose that I could design one of my own. However, why reinvent the wheel? I tried googling and doing other stuff, but it surprisingly was unable to find anything useful. Any help will be greatly … | |
hi... ive tried alot of things already...and i know what the problem is, just not sure how to fix it. ive isolated it to this part of the code thats giving me problems... and i think that its because the register cant hold the number (hence the overflow error) [CODE] … | |
Hi everybody, I want to print screen my form, if I press Print Scrn button, its can to print at the printer.How can I do? Give me pls. | |
First, I am running on linux and when i use the java command to run a program (i.e. java foo), it just sits after it finishes. how can I get it to fully close(specifically, the program I am posting at the end of this post) Second, is there an equivalent … | |
I am looking for a way to create a menu bar with java ive found a few really good programs that basicly wusiwug a menu bar for you but implementation and the trial version only that comes up and blocks your options is annoying. i even willing went to the … | |
i am having a problem to store the item and call from it.It is like you already created a text file,then you need to assess item from it.the item is in disorder. :sad: | |
Hi I got the error for possibleseq array . The error is java.lang.NullPointerException. As java doesn't support pointer, when want to use dynamic array, how I can use. The array length cannot know exactly . It depends on the possible subsequences. So, Do I count the possible sequences in advance … | |
This could be a stupid question but I’ll ask it anyways. I used “MySQL Migration Toolkit 1.0 | |
I have a vector of objects of the Virus class. This vector is called 'Viruses.' I have a deque of objects of the Host class. Each Host class object has a deque of pointers to Virus objects, i.e., deque< Virus * > currentInfections Each Host object is randomly infected with … | |
what is the code for making an array of objects? i would greatly appreiciate any replies thank you. | |
[B]1. User will enter the ISBN, The system will trace the title and price of the book automatically. The system should check whether the book is in the stock or not. If it is not, please let the user to enter again. 2. Allow a customer to buy more than … | |
im fairly new to the .Net world and i'm tryin to make a simple page that dynamicly fills a table/form from a database based on user log info. i've been doin some reading and the datalist/repeater seem like more than i need...or maybe they are exactly what i need but … | |
i just started a pascal programming class. so what i am trying to do is write a program that will allow me to change my weight (in stones) to kilograms and change my hight (in inches) to kilograms. i also need to be able to enter my name in. i … | |
I have read vegaseat's "Projects for the Beginner" sticky and got really interrested in the eqaution solver for physics or mathematics problem. I just need a little Python hint how to get this started. | |
Thanks a lot for the help on my last question. I have another problem that I need help with. I need to generate the check digit for an ISBN number. Like if the input is 076372339 the function should return 8. To find the check digit, which is the last … | |
I know Python has adopted Java's decorator, but I can not make much sense from the reference manual example. It would be nice if soemone could give a good example of the implimentation of a Python function decorator. | |
I'm kinda new to c++ and can only do very simple applications. Could someone explain why this code works: [code] #include <iostream> using namespace std; int main() { bool inword = 0; unsigned int numwords = 0; char *str = "this is a test string for my project"; char letter; … | |
How do I get my text boxes to automatically highlight the default text so users can start typing without having to delete or highlight it themselves? | |
Help me with this Simple Problem using structure in turbo C. Basic Program The Problem:Using structure 1) Consider the given data in the student Class Record a.) Enter for the name of the student and student number (10students). b.) Enter the class standing and prelim exam. c.) To Compute for … | |
I am having a problem with a recursion problem. I have been reading alot of threads on this subject here and other places. I think I understand what recursion is. I am just having a problem trying to figure out this problem. I am suppose to write a helper function … | |
What is wrong with this: [code] for(int b = 0;b < c.length();b++) { temp[b] << S.Pop(); // or temp[b] = S.Pop(); } [/code] to have a string made up of the contents of the stack? When I do this and cout << temp, temp is blank. This iterates through the … | |
how to store the data read from the txt file, and store it into different array? for example, name,age,address i know how to read them differently, but don know how to store it... :cry: FileReader fr = new FileReader("abc.txt"); input = new BufferedReader(fr); line = input.readLine(); while (line != null) … |
The End.