199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Pado

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 …

Member Avatar for Pado
0
177
Member Avatar for klactose

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 …

Member Avatar for klactose
0
121
Member Avatar for gp04lch

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 …

Member Avatar for gp04lch
0
107
Member Avatar for nizbit

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 …

Member Avatar for nizbit
0
140
Member Avatar for Trekker182

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 …

Member Avatar for Trekker182
0
173
Member Avatar for Evenbit

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 …

Member Avatar for Evenbit
0
212
Member Avatar for flipjoebanana

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 …

Member Avatar for flipjoebanana
0
161
Member Avatar for cVz

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 …

Member Avatar for digital-ether
0
178
Member Avatar for Maxine

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 …

Member Avatar for digital-ether
0
128
Member Avatar for waldchr

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 …

Member Avatar for waldchr
0
173
Member Avatar for jhonnyboy

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 …

Member Avatar for Sci@phy
0
141
Member Avatar for puja_suri

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

Member Avatar for puja_suri
0
161
Member Avatar for meddlepal

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 …

Member Avatar for meddlepal
0
160
Member Avatar for Chewie-DK

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 …

Member Avatar for Chewie-DK
0
118
Member Avatar for c230jif

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

Member Avatar for c230jif
0
133
Member Avatar for melissajohn718

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

Member Avatar for VernonDozier
0
196
Member Avatar for dhaval942

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 …

Member Avatar for Salem
0
75
Member Avatar for Duki

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 …

Member Avatar for selvaganapathy
0
119
Member Avatar for reniies

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 …

Member Avatar for reniies
0
532
Member Avatar for ballinloughan

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 …

Member Avatar for ballinloughan
0
109
Member Avatar for jrrr

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

Member Avatar for mitrmkar
0
94
Member Avatar for sham
Member Avatar for letlet_pogs

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

Member Avatar for letlet_pogs
0
347
Member Avatar for PaladinHammer

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 …

Member Avatar for stilllearning
0
177
Member Avatar for ezkonekgal

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 …

Member Avatar for fireheart1024
0
158
Member Avatar for abhi_elementx

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

Member Avatar for fireheart1024
0
123
Member Avatar for prateeknigamk

please tell me under what condition we should we use abstract classes and main difference between interface and abstract classes

Member Avatar for fireheart1024
0
95
Member Avatar for ezkonekgal

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

Member Avatar for ezkonekgal
0
115
Member Avatar for Duki

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

Member Avatar for Duki
0
294
Member Avatar for DevC++4.9.9.2

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 …

Member Avatar for Salem
0
182
Member Avatar for asmit1987

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 …

Member Avatar for Teme64
0
2K
Member Avatar for SBDSTech

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 …

Member Avatar for mexabet
0
184
Member Avatar for furpacino

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

Member Avatar for furpacino
0
100
Member Avatar for smile4evr

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 …

Member Avatar for smile4evr
0
96
Member Avatar for gane_g86

how to transfer a database from ms access to ms sql 2005 through a button clik event in c#

Member Avatar for Jx_Man
0
143
Member Avatar for Tank50

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 …

Member Avatar for Tank50
0
188
Member Avatar for Mr_Grieves

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

Member Avatar for ZZucker
0
97
Member Avatar for BlackPearl

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 …

Member Avatar for akhilagarwal87
0
212
Member Avatar for trudge

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

Member Avatar for trudge
0
127
Member Avatar for jrrr

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

Member Avatar for stilllearning
0
88
Member Avatar for Punkis448

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 …

Member Avatar for Punkis448
0
135
Member Avatar for sunveer

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]

Member Avatar for stilllearning
0
88
Member Avatar for laghaterohan

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 …

Member Avatar for laghaterohan
0
76
Member Avatar for Punkis448

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 …

Member Avatar for Punkis448
0
2K
Member Avatar for foehner

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 …

Member Avatar for foehner
0
124
Member Avatar for llemes4011

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

Member Avatar for Alex Edwards
0
88
Member Avatar for justted

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

Member Avatar for buddylee17
0
146
Member Avatar for php2sheik

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

Member Avatar for mexabet
0
86
Member Avatar for Phaelax

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 …

Member Avatar for Phaelax
0
125
Member Avatar for avsparmar

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 …

Member Avatar for peter_budo
0
90

The End.