199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gaborm

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 …

Member Avatar for chrisbliss18
0
219
Member Avatar for Chipsncoke

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 …

Member Avatar for chrisbliss18
0
376
Member Avatar for michael123

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.

Member Avatar for TopDogger
0
779
Member Avatar for hitesh_black

can any body help me to find cool topics for miniprojects in SWING like text editor or.....

Member Avatar for freesoft_2000
0
129
Member Avatar for Judas

Hello everyone Is it possible to use a variable for a vector name eg [code] MyVar.push_back(line); [/code]

Member Avatar for Dave Sinkula
0
97
Member Avatar for kharri5

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 …

Member Avatar for kharri5
0
102
Member Avatar for wdowell84

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 …

Member Avatar for Judas
0
182
Member Avatar for openhiem

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 …

Member Avatar for jbennet
0
230
Member Avatar for sapex

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..

Member Avatar for Drowzee
0
156
Member Avatar for Bears5051

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

Member Avatar for Bears5051
0
398
Member Avatar for sbedford

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 …

Member Avatar for sbedford
0
314
Member Avatar for Dark_Omen

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 …

Member Avatar for Dark_Omen
0
243
Member Avatar for shuchi_jain

[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:

Member Avatar for jwenting
0
243
Member Avatar for Acidburn

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 …

Member Avatar for Lerner
0
224
Member Avatar for Gotcha

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 …

Member Avatar for Rashakil Fol
0
129
Member Avatar for mrmike

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 …

Member Avatar for mrmike
0
286
Member Avatar for tayspen

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 + …

Member Avatar for tayspen
0
398
Member Avatar for Mohieddine

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, …

Member Avatar for amitlokare
0
157
Member Avatar for Merc5

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 …

0
123
Member Avatar for faisyshah

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 …

Member Avatar for amitlokare
0
92
Member Avatar for brianb7590

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) { …

Member Avatar for boyzz
0
251
Member Avatar for kharri5

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 …

Member Avatar for kharri5
0
2K
Member Avatar for djbsabkcb

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> …

Member Avatar for djbsabkcb
0
1K
Member Avatar for Avner .H.

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 …

Member Avatar for kerumai
0
235
Member Avatar for SpS

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

Member Avatar for Lerner
0
198
Member Avatar for perlsu

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.

Member Avatar for NPH
0
169
Member Avatar for Acidburn

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 …

Member Avatar for Drowzee
0
118
Member Avatar for SpS

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??

Member Avatar for chrisbliss18
0
158
Member Avatar for MIGSoft

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 …

Member Avatar for Rashakil Fol
0
743
Member Avatar for ghostfacelz

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] …

Member Avatar for ghostfacelz
0
188
Member Avatar for effigy

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.

Member Avatar for jwshepherd
0
184
Member Avatar for Rearden

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 …

Member Avatar for Rearden
0
153
Member Avatar for nspireing

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 …

Member Avatar for server_crash
0
165
Member Avatar for katew

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:

Member Avatar for katew
0
311
Member Avatar for perlsu

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 …

Member Avatar for perlsu
0
131
Member Avatar for Walyer

This could be a stupid question but I’ll ask it anyways. I used “MySQL Migration Toolkit 1.0

Member Avatar for ujvala
0
247
Member Avatar for nikto

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 …

Member Avatar for nikto
0
160
Member Avatar for rks01

what is the code for making an array of objects? i would greatly appreiciate any replies thank you.

Member Avatar for Drowzee
0
107
Member Avatar for mysterio

[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 …

Member Avatar for Stoned_coder
0
157
Member Avatar for dru987

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 …

Member Avatar for tgreer
0
318
Member Avatar for gisler

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 …

Member Avatar for gisler
0
234
Member Avatar for bumsfeld

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.

Member Avatar for vegaseat
0
118
Member Avatar for CutCrusader

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 …

Member Avatar for vegaseat
0
131
Member Avatar for bumsfeld

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.

Member Avatar for vegaseat
0
109
Member Avatar for MillStrike

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; …

Member Avatar for Drowzee
0
172
Member Avatar for Lunaticrr

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?

Member Avatar for Lunaticrr
0
109
Member Avatar for renar

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 …

Member Avatar for chrisbliss18
0
118
Member Avatar for skeet123

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 …

Member Avatar for skeet123
0
136
Member Avatar for sifuedition

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 …

Member Avatar for sifuedition
0
90
Member Avatar for boyzz

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) …

Member Avatar for boyzz
0
327

The End.