199,114 Archived Topics
Remove Filter ![]() | |
I hate to bother you guys but I have a problem that has me stumped. When I test it on my local server it works fine, but then I uploaded the files to the web server and it doesn't work and I get the following errors: Warning: fwrite(): supplied argument … | |
Hello, I am writing some testing scripts. At the end of each test I may have to return my environment back to it's default state using various subroutines in various modules. I realize that using the END block I can run these subroutines, however I have hundreds of these test … | |
hi people, I'm supposed to be creating something like a dynamic item number generator. for example: FROM: A 1 0 111 TO: B 2 0 112 should produce: A 1 0 111 A 1 0 112 B 1 0 111 B 1 0 112 this would be quite easy using … | |
First I just wanted to say thanks for all the help everyone has provided for me before. I'm sure you wanted to reach through the internet and strangle me :) . I having some difficulty with understanding/implementing a linked list class with another class. Just something as simple as interacting … | |
This is the first time I'm trying to compile code that I've written using a main program file, a .h file and a .cpp implementation file. I'm using Dev C++ 4.9.9.2 and when I try to compile my main.cpp file, I get several errors of this sort. 1 F:\COP1335C\LAB#3\Time.cpp In … | |
It's a FizzBuzz question designed to "separate the men from the boys", so don't cheat. :) Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are … | |
Hello, I am trying to incorporate the use of a batch file towards my program. For this I just want that after the program has starting running to send the file content's to stdin, in which case the program should do the rest? Is this possible, how so? Or should … | |
Hey people .... I am trying to dynamically load data into combo boxes on selection of the first combo box items... I am Using MySql and PHP .... i really just don't know what to do anymore ... please please please help me ... PS - i am actually a … | |
I am currently working on a program that should update mysql database online at an interval of an hour automatically. The user on the other side should be able to download the information in the database for use in his/her local machine. I am stuck in the process, I now … | |
This goes out to only the users of Dev C++ (or people knowledgeable with this compiler). I am trying to consolidate all of the files needed to run Dev C++ onto a flash drive so I can use it on multiple computers. I have been having problems getting the app … | |
Hello again guys, I am trying to sort an array. First i must get the info from a txt file. The txt file has numbers and the only way i can put them into an array is to put them into a char array. Now my problem is i need … | |
hiii i am making a website and i want that on the click of a delete button a msg box will be displayed with two buttons and different actions to be taken on the click of these button. I dont know how to implemnet d same. Pls guide me. Thanks | |
I have a file with a network map consisting of 0's and 1's. I want to read this map into a two-dimensional array. I have the following code: [CODE] #include <iostream> #include <fstream> using namespace std; int main() { char map[22][22]; // 22 x 22 (r*c) ifstream fin; fin.open("netmap.txt"); char … | |
the background of the program. A HTTP server is front end for a Fileserver and use Pyro RMI to load / write files on the Fileserver. before a client is allowed access to the files a security handshake must be done. It all works when I run it. Now I … | |
I started a program that calculates an employee's weekly gross pay when the user inputs hours worked and hourly pay rate. With what I have so far, it compiles fine, but gives these errors: on Dev-C++: message: [Linker error] undefined reference to 'get_pay(float, float)' Id returned 1 exit status file: … | |
I got this error message: error C2447: '{' : missing function header (old-style formal list?) What does it mean? How can I fix this? Please let me know. Thank you! I started with... #include <iostream> using namespace std; int num; { and then i added my variables... | |
i want to write a c++ program that reads the original price of the item sold, the percentage of the mark up price, and the sales tax rate. the program then outputs the original price of the item, the percentage of the mark up, the store's selling price of the … | |
Hey everyone, I'm writing a program for work. I need to do the following: The user inputs an unknown number of values to be processed. I want to allow them to basically click "new" and be able to add a new textbox or something that will allow them to input … | |
Hi all, Would you please help me to find a way that I can open an external crystal report in my application without creating a new report. I actually wanted the application to export the report to a PDF which I know the methods to do it. What I am … | |
Hi There, I have a piece of code that is confusing me and would appreciate any advice: Reg1 is an 8 bit register Bit0 is bit 0 of Reg1 Line of code that I am having trouble understanding: Reg1 &= ~(1<<Bit0); This is what I think the answer is: Asume … | |
hi gud pm!!!! i have a problem the compiler says that in this code..."name lookup change ISO 'for' scoping then using obsolete binding at i"... please help badly!!!! for (int i=0; i<20; i++){ r [i]=0; } switch (ch){ case 'a': cout<<"Please enter your password first\n"; if (ch=='a' && r[i]!=0){ clue(); … | |
Can anyone help me understand function polymorphism ? | |
hello guy,,can you really help me understand more about "stack" in java?? i am still confused about stack.push or stack.pop.....can you help me understand it more??..thank you again... | |
Here is the code: [CODE]#include <iostream> #include <fstream> #include <iomanip> using namespace std; int main () { ifstream fin; ofstream fout; int item1=0, item2=0, item3=0, item4=0, item5=0, amount; char item; fin.open("input.txt"); fout.open("output.txt"); if(fin.fail()) { cerr << "Input did not open\n"; exit (2); } if(fout.fail()) { cerr << "Output file did … | |
hello, it's me again. As you have noticed, i am working on an assignment that my teacher gave me. It's 20% of my midterm exam. I posted the threads "Need urgent help! please", "I need help with my program", and the "Help with my main method." I am having problems … | |
Hello folks, I have a Netbeans desktop application with a frame. I have a menu called SALES. Under that i have a menu-item "Import". I have added a mouseclicked event where i call a function. When i click on Import, nothing happens... Plz help. Thanks | |
please tell me under what condition we should we use abstract classes and main difference between interface and abstract classes | |
[code=JAVA] import java.io.*; import java.util.*; import javax.swing.*; public class Calculator { private static Stack operators = new Stack(); private static Stack operands = new Stack(); public static void main(String args[]) throws IOException { JOptionPane.showMessageDialog(null, "Hello user! I hope you have a great time using this. = ]", "Welcome", JOptionPane.PLAIN_MESSAGE); JOptionPane.showMessageDialog(null, … | |
Hey everyone, I have a program that computes the distance between two elevations at a given point. I need to plot these lines to a picture. I'm having problems getting the lines to start in the correct spot. Here's the code I'm using: [code=vb] Dim Gr As Graphics = PictureBox1.CreateGraphics() … | |
Hey, ive debugged my program to this line, and im not sure what to use, strcpy or some other thing, but i need to get the string from a[x] in to the new string c[z]. Any suggestions? [code=c++] string a[100]; string c[100]; if (a[x].compare(b[y])==0) { c[z] = a[x]; //doesnt work … | |
I am having a combo box in my form and i want to open a image using that now whenever i select any option from the combo box different different images should be displayed what cud be the necessary code and what event should be used to write the necessary … | |
Not quite sure if I'm putting this in the right forum, but I wrote this site entirely in PHP so it seems somewhat appropriate.... here's the problem, and hopefully someone out there's run into a similar issue and might possible save me several hours of headaches.. :) the site I'm … | |
can any one help about this data type __int8, visual studia.net c++. How to define it.And if u can, can you show mee alittle program to see how it works. Thanks alot | |
Hi all... please help me with this code... i hv retrieved the id of the employee from the login n stored it as a lable in my form- logid but now with respect to that i want to get the employee name... please help very urgent!! [code] Dim rs As … | |
how to transfer a database from ms access to ms sql 2005 through a button clik event in c# | |
Hi Pls help me to slove this problem.I have a method and I pass a dataset to it.and inside the method it generate another dataset,i want to join dataset1 and dataset2.How do i do tha below I mention the coidng,it just testing coding.In dataset it contains Retailercode and dataset 2 … | |
I'm writing a method to generated a latex table table from input arrays. It's working but there is one nuisance: I want trailing zeros on numbers. Right now I'm using the %g method which works nicely, but it still will turn 1.340 into 1.34 if I do "%.4g" % 1.340. … | |
I have been assigned ot developa simple Java paint program whis allows the user to: 1.Create simple shapes on many layers 2.Draw line 3.Fill the selected shapes and lines (using color chooser) 3.Copy and paster the selected shape 4.write selected sahpe to a file and load the file to the … | |
I have code that successfully displays results, but throws an error in Fx 3 and IE 6. A sample of the XML file: [code] <?xml version="1.0" encoding="ISO-8859-1"?> <mycds> <cd> <title>Wolf City</title> <artist>Amon Duul II</artist> <artist_id>1</artist_id> <track_id>1</track_id> <sequence>1</sequence> <track_name> Surrounded By The Stars</track_name> <track_id>2</track_id> <sequence>2</sequence> <track_name> Green Bubble Raincoated Man</track_name> <track_id>3</track_id> … | |
Good Day!!! I have a problem in creating a code using dev cpp. Can you complete my code? This is my code: [code=cplusplus] #include <iostream.h> #include <string.h> void change(); void clue(); void menu(); void compare(); char n1[8]; char n2[8]; char n; main(){ do{ char name[20]; char n; system ("cls"); cout<<"Menu:\n"; … | |
I have a problem with my project. The project search through the database and displays the results. The problem is that I get question marks instead of GREEK letters (i do not mean rubbish, i mean Greek). Suppose that the problem is not about encoding. I have to find the … | |
i have to write a program to find sum of the sequence using loops the sequence is [B]x-x^2/2!+x^3/3!-x^4/4!+.....[/B] | |
I have a form in which i have 5 tab pages i have a doubt as to how to open a specific tab page within that form on button click. Say, i have an admission form in which when i click on save the details should be saved and then … | |
Hi all, I have a problem with my php and mysql project. I use an auctions software, named phpauction for my project. I import into my database with utf8 encodingm and I can see the greek letters inside the fields. The problem is that when i go to the site … | |
I have a VB6 program that does some image processing. It works fine when used thru both the GUI or non-GUI command line. My problem is that if I am in a command window and run the executable with arguments, it returns to the command window prompt after just a … | |
Hi, I need to create a huge array of (up to 160,000) points on a grid ex. (4, 23). First of all, I have no idea how to create an array, I looked on the Java API, but I was helplessly and hopelessly confused. And after a create the array, … | |
Hello, I have set up a photo gallery and would like to resize the width for each photo displayed! However, I cant seem to get the coding right! Here is the snippet of code: [CODE] //Outputs the image and other data Echo "<img src=/photos/".$info['photo'] 'width=200' . "> <br>"; Echo "<b>Description:</b> … | |
[code=php]<?php $subject="testmail"; $message="this is test mail from php"; $to="****@****.com";//for an example $status=mail($to,$subject,$message); if ($status) { echo "Mail successfully Send"; } ?>[/code] when i execute this script, it displays the following error., why this error? [B]mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing[/B] | |
I need to create table with expandable rows. Each row in the table can be expanded to display a secondary row. While I have managed this in the past for other projects, this problem is slightly unique. For the rows that are always visible, I want them to be only … | |
I want to build a web chat application for mobile and i build it in the same manner as it build for desktop browser but that is not supported by mobile browser. Please java developer let me know how to build front end pages that will be compatible with mobile … |
The End.