199,123 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Robert Walker
Member Avatar for ESHbyESH
0
193
Member Avatar for server_crash

I can can use a BufferedReader to open a Streamat the command line, like this: [Code] BufferedReader br = new BufferedReader(new InpuStreamReader(URL.openStream())); [/Code] Once I try to use this same statement inside of my applet, I get an AccessControlException. I know it's something to do with security, but how do …

Member Avatar for Phaelax
0
143
Member Avatar for Wenshere

I would like to design a program to implement a string of operation, such as: 1+3/4+5*5-(454*23-34) Then, it returns a correct answer. And what's the exact algorithms?

Member Avatar for vegaseat
0
110
Member Avatar for krayek

Hello, I am new here looking for some advice. I belong to a programming group that intends to simulate hearing loss via software that we are creating. At the moment, we are looking to see how are we able to obtain sound from sound cards. What we intend to do …

Member Avatar for vegaseat
0
111
Member Avatar for tristan

Hello, I am having a members search page, where you can look up members by searching on e.g. age, interests, country etc. If the user does not specify e.g. an age range, then all ages should be included in the search. But if a specific age range is specified, then …

Member Avatar for sarahk
0
221
Member Avatar for pranavjec

hi guys, i need some help. i need one c program about a file called segy. hve to extract some information from its header(trace header) & stored it in another file to view.The information i have to extract from the trace header are inline,crossline,x coordinate & y coordinate. i wanna …

Member Avatar for Dogtree
0
202
Member Avatar for kramer147

here is the sequence i'm using for my arrow keys [code]#include<stdio.h> unsigned char keyin main() { if(square==1) {//start square putimage(285,440,ste,COPY_PUT); while((keyin=getch())!='\r') {//up arrow key if(keyin==72) {//hit up arrow keyin=getch(); square=2; }//hit up arrow }//up arrow key }//start square do {//game from start square on if(square==2) {//on square 2 putimage(285,400,ste,COPY_PUT); }//on …

Member Avatar for Dogtree
0
396
Member Avatar for Sam Lehman

hi, I need to find a way to get a list of all of the files in the current folder, so i thought i could have my program execute the 'dir' command into the command prompt and then parse what is returened. would anyone have any ideas on how I …

Member Avatar for Sam Lehman
0
273
Member Avatar for freesoft_2000

Hi everyone, I have a JTextPane with an embedded JLabel and i am trying to print the contents of the JTextPane. When i print it an exception gets thrown saying that there is an error in the views. This only happens if i have an embedded jcomponent in the jTextPane …

0
162
Member Avatar for Wenshere

I declare a array of pointers: [CODE]char *a[13];[/CODE] And how can I allocate memory for it using "new"? (I'm a Chinese student,so my expression may be not so exact~)

Member Avatar for Dogtree
0
113
Member Avatar for Wenshere

1, who can tell me the defference between "cerr" and "cout"? 2, if I will handle these operations, how can I do? [CODE]cout << 7/2 << " " << 7/0<<" " << 7/3;[/CODE] 7/0 is wrong,but I will let the codes continue, that is , let the result of 7/3 …

Member Avatar for Dogtree
0
139
Member Avatar for cj51

Warning: what you are about to read is from a complete novice who is trying to install software on a linux server. I apologise in advance if this is not in the right forum. My problem is that the install program shows the following during its checklist: Disabled functions list …

Member Avatar for cj51
0
94
Member Avatar for server_crash

Ok, I'm working with some Strings, and these Strings will get remade up to an infinite number of times, and I know that a new object is created each time. So, which is worse.. Keep using the String, and have the value continously change, or Use a StringBuffer, and continously …

Member Avatar for Paul.Esson
0
332
Member Avatar for gaetano

This was a question in a previous topic but I didn't quite understand the answer. I display radio buttons from a Array I built in ASP (radioArray) which contains a code/short desc/long desc. When someone clicks a radio button I want to invoke a Javascript function to display the short …

Member Avatar for gaetano
0
292
Member Avatar for curly3top

please help...when case 2, 3, or 4 are chosen the program goes into an infinite loop except for case 1 which works fine.... [code] //this program performs addition (grades 1,2,3,4), subtraction (grades 2,3,4), multiplication (grades 3,4), and division(grade 4) #include <cstdlib> #include <ctime> #include <iostream> using namespace std; int main() …

Member Avatar for admdvv
0
216
Member Avatar for admdvv

At runtime I obtain an instance of descendant of TObject (for example its name is TGoodForm). The definition of TGoodForm is unknown at compile time (I know that it is TGoodForm from TObject::ClassName()). [B]The question: how to create new instance of TGoodForm ?[/B] In another words, can I get address …

Member Avatar for admdvv
0
229
Member Avatar for Scuuba

Please help, I am writing a program to take in 3 values and return the shape of a triangle. The program runs, but not quite right. Instead of returning the shape of a triangle, it returns a smiley face....which really surprised me. Can anybody help? The code I have is: …

Member Avatar for Scuuba
0
209
Member Avatar for CompiConQuiso

Hi I'm writing a program that is designed to have a user input the degree and coefficients for a polynomial with two variables, x and y, and i'm having trouble figureing out how to output the degree for the y, and tryin to ignore the term if the coefficient is …

Member Avatar for Narue
0
202
Member Avatar for peachy

Can anyone tell me the format for reading information into a program and if I want to save information out of the prgram into a txt file. I understand it to be Assign (file name, path) reset (filename) close (file name) and to write information out assign (filename, path); rewrite(filename, …

Member Avatar for peachy
0
172
Member Avatar for apcxpc

It's easy enough in Java. How is it done in C++? for e.g. I have a class called Relation, that has a name field (just a string) and then a vector of strings. I want to specify that wherever I type (for example): Relation* r = new Relation(...); cout << …

Member Avatar for Narue
0
3K
Member Avatar for theinsaneone

Dear friends I am asking anybody to please provide me with a round robin scheduler in C programming. I have a non preemption program, but i need a preempted one. Please help.

Member Avatar for Narue
0
114
Member Avatar for some one

please help me to write this program Ihave make one closed to it but I could not do it as what it says here is the problem and my solution: This is the program Write a program that outputs a telephone bill, given information on telephone calls made by the …

Member Avatar for Narue
0
246
Member Avatar for John Smith

Hi, Im having a slight problem with fgets and ssl. [CODE] <?php function monkey($method,$protocal,$port,$domain,$path,$data,$query){ if($method=="POST"){ $fp = fsockopen($protocal."://".$domain, $port, $errno, $errstr, 30); if (!$fp) { echo $errstr." (".$errno.")<br />\n"; } else { $out .= "POST /".$path."?".$query." HTTP/1.1\r\n"; $out .= "Host: ".$domain."\r\n"; $out .= "Content-Type: application/x-www-form-urlencoded\r\n"; $out .= "Content-Length: " . …

Member Avatar for John Smith
0
139
Member Avatar for Walyer

Is it possible to use MS Access as a db with PHP? If so, how? If not, is there a way to convert (for free without buying a program) MS Access file to MySQL? Thanks for your efforts

Member Avatar for big_k105
0
189
Member Avatar for geekbutproud

hey ppl, can anyone tell me which is the ideal database backend that i can use with php :confused: ...i thought about using access but i dont think it would be good enough...please help me.Thanx a lot.Ciao. -geek.

Member Avatar for big_k105
0
194
Member Avatar for George2

Hello everyone, I am looking for open source gateway written in Java. It is better a light-weighted and easy-to-configure gateway, which could be used in J2EE/J2SE/J2ME applications. Thanks in advance, George

Member Avatar for George2
0
338
Member Avatar for SquirrelProdigy

Here soon, I was hoping to buy an IDE for C++. However, I'm not sure which is the best to buy. I only know of Borland and Microsoft's as popular IDEs. Are there any other popular IDE's that are worth purchasing. I'll be heading off to college here soon, and …

Member Avatar for Narue
0
183
Member Avatar for kittie

[code]//final.cpp //Creates an array with 2 players' batting avg //Read in hits and atbats for each player //1) one player get data in main //2) other get data in battingavg function //battingavg function figures out battingavg for both players // and puts them in array (not hits & abats), print …

Member Avatar for Narue
0
179
Member Avatar for winbatch

I'm trying to overload my 'Log' class so that I can pass 'endl' to it. Given the obscure nature of the compiler errors for template classes, I'm not sure what to put on the 'right hand side'. For example, these work fine. .. [code]Log & operator << (ostringstream & a) …

Member Avatar for Narue
0
2K
Member Avatar for server_crash

I've been working on this webcrawler and I've ran into a problem. I can read the first URL and get all the URLs out of the HTML code, but I can't seem to set up a looping structure that will work. This is basically what it does: Searches through html …

Member Avatar for server_crash
0
145
Member Avatar for souphmars

can yall help me-i need to be able to output in preorder (root, left, right) and in post order (left, right, root)- when i output now it is in order (left, root, right)- how come it does this automatically, just wondering about that-but i need help with preorder and postorder, …

Member Avatar for Sarburtho
0
162
Member Avatar for Acidburn

[code] int hangman::checkstatus() { for ( int i = 0; i < 5; i++ ) { if (encryption[i] == '*' ) { return i; cout << i; break; } } if ( i == 4 ) { cout<<"You win!"<<endl; } return 0; } [/code] Hello guys, this function always returns …

Member Avatar for Dave Sinkula
0
185
Member Avatar for mesmo

Hey people! Ive had to right a simulation to the game buzz-fizz..this is what the game is... One person starts of by calling out '1' then each player adds one to the previous players number and calls out that number unless it divides excatly by three or five.. If it …

Member Avatar for Daaave
0
198
Member Avatar for raghavendrak

Hi Friends, I want to write a MP3 player with minimum GUI for Linux (Fedora) I dont know where to start with I have knowledge of C/C++ programming, but not much knowledge of creating a GUI. I use Eclipse. I want to write for KDE. Can you please guide me …

Member Avatar for subtronic
0
277
Member Avatar for SquirrelProdigy

[CODE]if(cmd=="new"){ string name,desc; cout<<"Name? "; cin>>name; Setcursor(Conloc); cout<<"Desc? "; cin>>desc; Setcursor(Bodyloc); Invitem Item(name,desc);[/CODE] When the values of the string desc is set through cin, if a space is used, all text after that space isn't used. Also, If two words are used when setting name, it will give the second …

Member Avatar for subtronic
0
272
Member Avatar for winbatch

Hi, I'm trying to use the STL map class to be able to store keys and associated values. I started out using it with keys of pre-existing data types like int, string, etc. and was working fine. I was also able to use it with values of custom classes. I'm …

Member Avatar for Narue
0
452
Member Avatar for Deans20

hey everyone. first time poster here. i've been having trouble with my search feature on a website that i designed (well i helped design). it works fine when i'm in the indexing service but on the site it wont. if i search for random letters, it will say "No search …

Member Avatar for Deans20
0
112
Member Avatar for grissomdl

Does anyone know how or have any type program to input comma-delimited data into qb programs? I have written a unique program, I want say what but it is good. grissomdl :rolleyes:

Member Avatar for grissomdl
0
158
Member Avatar for oodam

.................a script for event booking with that uses PHP and Mysql and links to a third party such as worldpay or paypal for payments? I've had a look and I can't find anything specific to my needs. What I'm really after is something like the track day booking at [url]www.bookatrack.co.uk[/url]. …

Member Avatar for oodam
0
167
Member Avatar for warriorwarren

Hi, I have the following interface for a 35 day month calander script that I am writing. The interface is called for use with an html page. I am supposed to collect user input which includes day, month and their event. blankEventsJan = [ ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'] ] …

Member Avatar for vegaseat
0
347
Member Avatar for KG800

Hello, I've created a table web server control that does what I want (imagine that!!). But my problem now is I would like to send this to a file anyone know how I can do that? KG

Member Avatar for KG800
0
164
Member Avatar for lorf14plus

I have generate a ASP.NET page with a Codebehind but i want to create a file with common method that i must make in many page of my website. I create a new file class .vb, but how can I using the public function that I have insert in?? Thanks …

Member Avatar for lorf14plus
0
215
Member Avatar for sham

Error publishing Asp pages on WinME, personal webserver I am using Personal web server on Windows Milleniuum Edition ,but when I tried to publish my .asp file ,it is not getting published .What is the reason for this ?Will you please help me to find the solution to this problem …

Member Avatar for william_stam
0
126
Member Avatar for kittie

[code]//project.cpp compiles //Need to create an input file of recently shipped music CD's. //The file should consist of the name of the album, quantity shipped and price. // Since we do not know how many CD's have been shipped, keep reading the file //until all CD's have been read in. …

Member Avatar for alc6379
0
232
Member Avatar for silicon

Hello everyone, my code is finally complete thanks to all of your help. One questions I have is regarding the reslts. I thought that Merge was faster than a heap sort. In my results however (when run on Borland c++) Heap comes out with a faster sorting time. The functions …

Member Avatar for subtronic
0
175
Member Avatar for tgreer

Let's see if I can completely strike-out, with a third unanswered post: I would like to know how to store binary data in the app.config file for a C# application. These are basically text strings, but they do include one or two "binary" characters, such as decimal 12. I need …

Member Avatar for Iron_Cross
0
189
Member Avatar for BoogaBooga

Hi! I'm building a login system for my application, but I'm having a little problem... It really needs top security, so I'm using both MySQL backend and cookies. Example: [B]LOGIN FORM[/B] > [B]VALIDATION[/B] > [B]INSERT SECURE SESSION ID INTO DATABASE[/B] > [B]STORE COOKIE WITH INFORMATION[/B] That's for the login. For …

Member Avatar for paradox814
0
227
Member Avatar for Toulinwoek

Does anyone know if Microsoft will be offering [B]Visual Basic .Net 2005[/B] as a standalone product? I can't imagine that they would not, but I can't find anything on their site that mentions anything but Visual Studio 2005, which contains a host of things I don't want. I have a …

Member Avatar for Toulinwoek
0
496
Member Avatar for zaman1111

I have a search code from Database. i want to display queries from Database with multiple option. how do i assign variable on both. for example String jsql= "Select * from UserList WHERE '"+abu+ "' = '"+userSearch+ "'"; the full code: <%@ page contentType="text/html; charset=utf-8" import="java.sql.*, java.util.*" errorPage="error.jsp"%> <html> <head> …

Member Avatar for zaman1111
0
233
Member Avatar for nizar4445

hello all anybody could please tell me how to change this code to make it read from a file that has unknown no of students in it. now this [I]part[/I] of the programe read only 5 students. could you please help me to solve this problem as soon as you …

Member Avatar for nizar4445
0
271

The End.