199,114 Archived Topics
Remove Filter ![]() | |
Hi i have a programming problem ;) I have a set of number(there is no limit must be dynamic) and i want to find out the unique numbers from the set i.e numbers which are not repeated. Observation: 1) No. of element in set should not be limited 2) Algorithm … | |
Below is a program in C that I am trying to use to read in a spreadsheet (in CSV form), which I will eventually be doing calculations on and then writing out to a new file. I'm currently trying to figure out the following three things: 1) How to make … | |
While running the older version of jdk1.3.0 my bdk1.1 worked fine. Recently i installed the latest version of the j2sdk1.4 and the problem surfaced. Whenever i run the run.bat file, lot of exceptions are thrown at the command prompt. And some of the inbuilt beans won't be shown. As for … | |
Hi everyone, I am trying to write some bits to the parallel port using the java communications port and all is okay except that i need some clarification on something. The parallel port is connected to circuit board that needs nine inputs(or better known as nine bits) Now this is … | |
Hi Everyone, I'm making a Java chat application, but it freezes whenever I click "Connect." My code is attached below. Thanks. [CODE] import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; import java.io.*; import java.net.*; public class CinnaChat extends JFrame { JLabel lblServerIP = new JLabel("Server IP:"); JTextField serverIP = new … | |
Ok new problem, I want to build off of a program I saw in a tutorial that has a "menu" and can calculate two different shapes. The two shapes are circle and rectangle. I've built it into a working order.(event bindings, buttons, area calculation programs) The program works all the … | |
Does neone know the code instruction to store an array of CD objects. Each entry in the array has to be a single object describing a CD. i.e: Artist Name , Album Name, Number of tracks i've written the program out but i cannot seem to get the above right. … | |
Hi again, I know I've asked a lot of questions, and you guys have been a really big help, so sorry for all the trouble. XD But, I've got another problem. :X I've been making a reflective program, and it's more or less working right now except of couple of … | |
I'm making a program (using MFC) that opens a file using the c-style FILE* format rather than C++ style streams. I'm doing this because I'm lazy, and so I can use as much pre-existing code as I can. When I close the program, a destructor is called. [code] CGrid1Doc::~CGrid1Doc() { … | |
My default website has a state of stopped. I right click on and select start and get the message "the service did not respond to the start or control request in a timely fashion". For some reason, I cant get this started. Any ideas | |
Hello ladies and gents, Have a few questions about the following example that is given: [code] #include <iostream> #include <fstream> using namespace std; int main() { char ch; int n=0; ifstream ff("aa"); if (!ff) { cout << "Can't open file aa for input.\n"; return 1; } ofstream gg("bb"); if (!gg) … | |
I am ahving a problem with the do/while loop. When the YesNo function returns a yes, main() repeats;however, it prints out what is stored in the string from before. How do you clear the string in order to run the program over and over. Also, when the piglatin result is … | |
hi to all.. i need help about C programming i have problem with my project, its about that how to determine the max number using for loop ill give the output and pls give me the code plss Output: Enter Numbers: 5<--input Enter first number:1<--input Enter second number:2<--input Enter third … | |
How to i get cubic numbers into a program? Ive tried ^3, but in this line: x = creat^3; y = lines*20; z = x+y; cout<<"Your zenii for this post is " << z << ".\a" << endl; If i change the cout to call out x it calls it … | |
Suppose i have a main.cpp file and a test.h file: /////////////////////////////////////////// //main.cpp #include <iostream.h> #include <string.h> void test(); char foo[200]; int main() { strcpy(foo, "testing"); test(); return 0; } ////////////////////////////////////////////////////////////// //test.h void test() { cout << mir << endl; } WHY IS "mir" AN UNDECLARED IDENTIFIER | |
Ok I've gotten py2exe because I have friends that want to test my programs, but they don't want to download the python program. Well I have tried to run the compiler out of MS-DOS and the Python version of MS-DOS. But every time I wind up with an error. I … | |
I have a classified site and when I try to add a listing through the site admin panel I get the following error: Warning: Cannot modify header information - headers already sent by (output started at /home/n2ads/public_html/includes.php:292) in /home/n2ads/public_html/siteadmin/AddOffer.php on line 54 Can someone help me fix it? | |
Hi people, once again I need your help. :o I have just installed a toplist {[url=http://www.artanderotica.com/toplist/]Here[/url]} I want to put it centered on the bottom of {[url=http://www.artanderotica.com/links]This Page[/url]} I am mildly familiar with php includes and iframes, but I don't know the best way to go about doing this and … | |
Hi every one Please help me: How can i found, if there is any disk in a removable drive (floppy drive or cd drive). I am programming with C++Builder. If there is any Win API function for this. Thank you very much. | |
hello ppl this is my 2nd post and as i said earlier, im writing a cpp program for an exam project. the project is designing a school database system neways the problem is that the the compiler hangs and terminates whenever a wrong type of data is entered i mean … | |
hi everyone i am doing this course work, where i have two classes. one is the point2d that models a two-dimensional point. The second part, the rectangle class, require the use of the Point2D class developed in the first part of the coursework. i am stuck in following two functions: … | |
Hi people, I have been trying to develop a database searching PHP script and encountered some problem. The problem is that whatever I type in as the keyword the script would return me all the entries from the database regardless of whether the word is actually there or not. Can … | |
I am working on filling a datagrid based on results found from a user entering criteria in text boxes and clicking a search button. I have been toying around with Session() to store variables but I dont understand it too well and its giving me trouble. After the user clicks … | |
Here is new code for my problem with this questionnaire. I am still not getting an output for the choices selected. Any ideas? [code] <html> <% Option Explicit Dim reason Dim response Dim resolved Dim rate Dim offer <head> <title> eLMS Feedback Form Process </title> <body bgcolor = "white"> reason … | |
i need to store the piglatin words returned by each function into one string so that I can then check it for lowercase or uppercase words and change as required. I can't seem to get the return 'temp' to store into a string in main. Also, when printed out, the … | |
![]() | Hi I am from a Visual Basic background, and if you're still reading this after that admission I could use your help.. I'm trying to learn VC++ and MFC and I'm just trying to work this out. In VB, you could have either a Winsock ActiveX control or use the … |
hey guys, have a challenge for you guys, i am making a rpg game in c++ and need some help figurin out the creatures, and items the player will have, i know i won't get many replys to this so don't expect to get all of what i am looking … | |
Dear gurus and members, I am a newbie in VB and programming. I have created an exe that allows to record, play and save user's speech onto his computer. The file is saved as wav. I wonder is it possible to convert the files to mp3 format when user clicks … | |
Hi, I installed apache 2.0 But when i look to system tray, PhpGeek Utility is not working. When i click phpgeek in the windows service, i saw path : c:\apache\apache.exe But this not true, because i installed it program files folder. :cry: Before instalition of apache 2, i installed an … | |
hi, i have created a game using TC++.. a very basic game.. and i want to use the same in VC++ could anyone please help me with this. i shall be grateful to you guys.. i think that there may be a problem with using the various header files in … | |
i would like to know how to make my app work the way i want it... at first my app is like this> a user types anything in a textbox and as long as it's a length of 9 or 12 it'll open a form.. here's a small part from … | |
i need to make a purchase order and sales invoice to print in vb6. i used datareport. i already have a code that i can't get to work. i uploaded [url]http://www.savefile.com/files/7624022[/url] it gave me this error. Run-time error '-2147217900(80040e14)': Data shape command text contains a syntax error at or near … | |
Hi, hmm hav a query right here about how do i go about plotting a map/graph using c programming. i hav the x and y cordinates which are the variables, but do not know how to go about starting/writing the program. i heard one of the ways is to import … | |
Below is my source code combined with HTML and ASP. It is a questionnaire but once I click the submit button the choices selected from the radio buttons are not displayed on the screen. What am I doing wrong? [code] <html> <h1><STRONG><var>eLMS </var>Helpdesk</STRONG></h1> <form> <% reason=Request.Form("reason") %> <!--<td><STRONG>Dear<%=cookie.username%></STRONG><br>--> <td><STRONG>You recently … | |
hey can any one give me the information that from where i can get source code of messanger ( sply yahoo) thanks | |
hi does anyone know how to make a structure globle or is it already? thx, Jason | |
:?: can anyone tell me how to recover the data from hard disk after pressing shift+delete | |
I've been working on this code which generates random numbers, however I need it to generate random numbers between [B]5.15053396E-5[/B] and [B]0.013365[/B]. Is there a way to define rand() to only generate random numbers within this range? What I tried to do was to generate a number between 110607 - … | |
Hello, I have a javascript code (a part of it is in php) that populates a pull-down menu. It works perfectly well with Explorer, Netscape and Firefox under Windows. But impossible to make it work with Explorer or Safari under Mac!!! Is javascript different between windows and mac? Here's the … | |
I have a VB program that produces reports by sending text to various list boxes. I want to add the option to have the reports sent to the clipboard. I imagion most users would then want to paste the information into a spreadsheet. I have figured out that adding chr$(13) … | |
Hello, guys, and thank you in advance! I am trying to make the program stop running for six seconds. I don't know, however, how to use the system clock. The code I came up with is something like this: PROGRAM TIMER; VAR LINE:STRING; X, S:INTEGER; BEGIN REPEAT WRITE ('TYPE ANYTHING … | |
Hello, How can i find the execution time of a script. help me . | |
Hey guys, I was using a switch statement for a menu so when the user entered a number from the menu that action was taken. The last option in the menu when pressed just said thanks for using the program then it would say press any key to continue. Although … | |
Hello ladies and gents, In my book, I'm currently reading about the use of creating your own operators << and >> for in- &output. There's been given a small example that goes like this: [code] #include <iostream> using namespace std; class vec { public: vec(float x1=0, float y1=0) {x = … | |
Hi all, Here's one that has me stumped. I'm trying to build a system shell with a Tkinter GUI in Python, and I can't figure out what to do with one of the widgets. Here's the program concept: I have two major widgets: a ScrolledText widget and an Entry widget. … | |
[QUOTE]:cry: Please help me,I'm a bigginner programmer. I have to send a project after tomorrow . My project is "Student Library". Programmed : -->Shor menu for user to select : a)add : student id,name,score(mid,final) b)delete c)modify d)list by id like this -- ***and in add menu user must not insert … | |
HI, I need to know how to display a variable from DB that has antoher variable in it: here is what i mean ($Description) is an variable that contain this html code: [HTML]<table height="688" width="500" border="0"> <tbody> <tr> <td width="82%" height="20"><strong><font face="Arial">$Name</font></strong></td> <td height="20"><strong><font face="Arial">$Item_num</font></strong></td> </tr> <tr> <td colspan="2" height="380"> </td> … | |
Hi, I'm trying to make a very simple java tester program. So, my program asks the user for the name of a method, and then runs it (doing a bunch of tests in the process) Does anyone know the name of the method(s) that will allow me to do this? … | |
does anyone know of a good java compiler that can make executable files. I want to be able to run my programs that are not applets without having to open my IDE everytime to execute them. I want to be able to asign them an icon and put them on … | |
hi everyone, i have a final year project for my BS computer science. can anyone suggest me a project on aspect oriented programming?? other suggestions are also welcome....all i need is a brief(or long) description of what to prepare. thanks |
The End.