199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Luckasoft

Dear friends! We are asking your opinion on our [url=http://www.enginsite.com/PHP.htm]PHP Editor[/url] . Some people ask what is the point of yet another editor. We see our niche as low cost solution-a set of several tools with everything a web-master might need. It is still a long way to our dream, …

Member Avatar for Gary King
0
229
Member Avatar for ghoststriker7

okay i know how to use fstream and everything, but the prolem is that I want to use a variable in ithe open part. exp const. pretend all headers are included. It works like this { ... ifstream infile; infile.open("text.txt"); ... } but when I want to use a variable …

Member Avatar for ghoststriker7
0
162
Member Avatar for dcving

:?: how do I get the high-lighted lines below to round up to just two (2) decimal places using the `setprecision` // Program description: Calculate the price, including taxes, of a water bill // given the amount of water in gallons // Author: Eric Martin // Date: 10.21.2004 #include <iostream> …

Member Avatar for Stack Overflow
0
255
Member Avatar for tip

Can someone show me where I go wrong. I am trying to populate a drop down list with field "type_desc" from the [U]eventType[/U] table. Upon selection, the value that will be passed will be "type_code". All I am getting is a blank drop list. Can someone help. Tablename: eventType Fields: …

Member Avatar for tip
0
133
Member Avatar for ultimate_fusion

heres the problem; some one inputs a 4 digit number e.g 1234 I stored it as a string and i have to display it in a messagebox like ----------------------------- the digits are 1 2 3 4 ------------------------------------ How? p.s i know how to do trhe input box and display, but …

Member Avatar for server_crash
0
140
Member Avatar for Sanirsanir

hi guys, Anybody tell me a site where free system available on C language. Thanks in Advance, Sanir

Member Avatar for vegaseat
0
334
Member Avatar for idicula

hey does anyone what these errors mean: ----------------------------------------------------------------- --------------------Configuration: a1 - Win32 Debug-------------------- Compiling... a1.cpp C:\Documents and Settings\Jinu\My Documents\Stuff\C++\Development\a1.cpp(46) : error C2146: syntax error : missing ';' before identifier 'bSq' C:\Documents and Settings\Jinu\My Documents\Stuff\C++\Development\a1.cpp(47) : error C2146: syntax error : missing ';' before identifier 'rightNum' C:\Documents and Settings\Jinu\My Documents\Stuff\C++\Development\a1.cpp(48) : …

Member Avatar for MoreCom
0
341
Member Avatar for sjopkg

I am a beginning programming student and was stumped on one of my programs. I really don't know where to begin on this one. I have to develop a MC++ program that will input the miles driven and gallons used (both as ints) for each tankful of gas. the program …

Member Avatar for Dave Sinkula
0
143
Member Avatar for gwenny

I'm trying to write a program using a stack to determine if the two sequences of characters are the mirror image of each other. Can anyone help me to get started?

Member Avatar for gwenny
0
178
Member Avatar for skamen

Hi, For class I have to write a program that performs mathematical operations onto fractions. I'm really drawing a blank as far as how to setup the function that reads the fractions inputed by the user. If you care to look the assignment can be found at: [url]http://www.cs.wmich.edu/~nelson/CS111FALL04/lab04/lab04.html[/url] The way …

Member Avatar for Narue
0
2K
Member Avatar for Sukhbir

what happened if we do't typecast return value of malloc like that int *a=malloc(10);

Member Avatar for Narue
0
141
Member Avatar for tendekai

#include<stdio.h> #include<conio.h> #include<string.h> #include<iomanip.h> FILE *fp1, *fp2; int count; struct record { char name[20]; int empnum; char depart[20]; float hours; float rate; }; void main() { clrscr(); record h; int acount=0,adcount=0,scount=0; float grosspay,totalg=0; float tax,totalt=0; float health,totalh=0; float pension,totalp=0; float netpay,totaln=0; float deductions; fp1=fopen("employ.dat","r"); fp2=fopen("payrol.dat","w"); count = 0; printf(" ""Page1\n"); …

Member Avatar for Narue
0
198
Member Avatar for maxfaction

I constantly use the PHP INCLUDES feature on my site, & recently ran into a problem that I'm not sure is solveable at the moment & I'm hoping someone will have a solution. I'm aware that PHP INCLUDES is ususally for content that you want to keep constant over many …

Member Avatar for ReDuX
0
287
Member Avatar for Jackie001

okay u got me its not interesting at all but i thought if i said that more people would have a look!!!! sorry im trying to create a server that after the 10th connection of a client reads files and sends to the client, the client then sends back an …

0
349
Member Avatar for somer2412

Please help I am writing a program that calculates the mean and median of a sequence of integers. My program works fine as long as the array is odd. Can someone please help me with a statement to calculate the median when the array is even. I have included my …

Member Avatar for Dave Sinkula
0
392
Member Avatar for tip

Help with querystring error. I am try to pass a query string to the same page but having problem This is my code: <HTML><BODY> <div align=center> <A href="?page=1">Page 1</A> - <A href="?page=2">Page 2</A> - <A href="?page=3">Page 3</A> </div><hr> <? switch($page) { case "1" :?> THis is page one <? break; …

Member Avatar for tip
0
94
Member Avatar for dmorgan89

need some help with my java code. i'm getting incompatible types error. can anyone tell me what's wrong with my code? import java.io.*; public class ifelsechain2 { public static void main(String[] args) throws java.io.IOException { String string1; int num1; InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); System.out.println("Enter …

Member Avatar for server_crash
0
116
Member Avatar for wangstarr

Hi, I am having some problems with a program I'm supposed to write: here is the program I am supposed to write: Write a modular program that uses a structure to store the following information about a customer account: Name Address City, state, and ZIP Telephone number Account Balance Date …

Member Avatar for Stack Overflow
0
149
Member Avatar for wangstarr

Good evening all, I am now working on a project for my intro c++ course and I'm having alot of difficulty understanding how to make a class program. I've been looking over the text but I am still confused. I would really appreciate any suggestions, ideas , or ways to …

Member Avatar for Stack Overflow
0
362
Member Avatar for wewe

Hi i have a problem linking upthe files main.cpp tree.cpp tree.h and list.ct really do not know how to complie with list.ct whats the ct ? anyway inside the list.ct, are templates. it reflect linking problem.. i.e. [Linker error] [B][I]undefined reference [/I] [/B] to `Tree::cleanUp()' [B] Question:[/B] what should i …

Member Avatar for wewe
0
122
Member Avatar for HollywoodTimms

Here is what I have #include <iostream.h> int main() { int i, total[3]; int myValue[3][3]; myValue[0][0] = 53,000; myValue[0][1] = 5; myValue[0][2] = 1; myValue[1][0] = 89,000; myValue[1][1] = 3; myValue[1][2] = 2; myValue[2][0] = 93,000; myValue[2][1] = 3; myValue[2][2] = 3; for (i = 0; i < 3; i++) …

Member Avatar for Ejaz
0
87
Member Avatar for SonicSlayer

I’m having problems with my do-while loops and my while loop. Also my switch statement ends and does not loop to ask for another input. I’m confused. Any suggestion that can help me or send me one the right track I would appreciate it. This is the assignment: The Miskatonic …

Member Avatar for SonicSlayer
0
152
Member Avatar for shantuli

hi everyone, can anyone solve me the code for the java problem. i need a java programthat holds twenty integers in an array, loop though each cell sequentially and prints each number on the console. thank you very much. shantuli

Member Avatar for tigerxx
0
169
Member Avatar for hill0ster

If you type in employee ID, and then a character (other than s, h or c) including the enter key. You get a message that says, "Do you want to try again or quit?" "Type q or Q to quit any other key to continue." If you hit any other …

Member Avatar for Stack Overflow
0
242
Member Avatar for nicoletonyf

hello there, when I try to combine 2 arrays together it displays "0". I think I don't understand the concept of constant. This is my code: [code] #ifndef INTSET_H #define INTSET_H class IntegerSet { public: IntegerSet( int ); IntegerSet( const IntegerSet& ); IntegerSet unionOfIntegerSets( const IntegerSet& ); IntegerSet intersectionOfIntegerSets( const …

Member Avatar for Stack Overflow
0
132
Member Avatar for BeyerCorpuz

[FONT=Times New Roman]Formatting Currency[/FONT] :lol: I would simply like to format a variable(WallboardCost) as currency. What is the easiest way to to this in Visual Basic 6. Thanks a lot. Chris B

Member Avatar for mnemtsas
0
155
Member Avatar for tendekai

#include<stdio.h> #include<conio.h> #include<string.h> FILE *fp1, *fp2; int count; struct record { char name[20]; int empnum; char depart[20]; float hours; float rate; }; void main() { struct record h; int acount=0,adcount=0,scount=0; float grosspay,totalg=0; float tax,totalt=0; float health,totalh=0; float pension,totalp=0; float netpay,totaln=0; float deductions; clrscr(); fp1=fopen("employ.dat","r"); fp2=fopen("payrol.dat","w"); count = 0; printf(" ""Page1\n"); …

Member Avatar for vegaseat
0
131
Member Avatar for freesoft_2000

hi everyone, I have a textpane using the default styled document. This textpane contains a icon and some formatted text. Next i have a file saved to my disk which is a document of another textpane. What i want to do is be able to append the two documents together …

Member Avatar for freesoft_2000
0
124
Member Avatar for hill0ster

If you type in employee ID, and then a character (other than s, h or c) including the enter key. You get a message that says, "Do you want to try again or quit?" "Type q or Q to quit any other key to continue." If you hit any other …

Member Avatar for Dave Sinkula
0
260
Member Avatar for Angiana

Hello everyone... im very new to Java... n im doing a java program 2 read from text files... the problem is after i read the 1st line ..the 1st number will be my max value... n after i read the second lines, there will be many values input by the …

Member Avatar for Angiana
0
146
Member Avatar for Dani

This might sound silly. But I'm working on a C# assignment for school right now, and I can't get a simple if-else statement to work. Isn't the syntax the same as in C++ or Java? I want to do one thing if a boolean variable is true, something else if …

Member Avatar for guitarded
0
421
Member Avatar for grootjan

How do I activate debugging in my appliactions because when I activate "step into" the brakpoints are not recognized; the program executes without stopping at the breakpoints Regards John Sambo

Member Avatar for guitarded
0
113
Member Avatar for nazanin_dnr

Hi everyone I have written an applcation and now its the step that I want to make user authorization ! but I don't know any thing about it ! if anyone knows please introduce me some articles or please guides me ! thanx for your help

Member Avatar for tigerxx
0
96
Member Avatar for tiberis

My teacher has told me I need a build file for my networking prodject. The problem? I have NO IDEA what a build file is, let alone how to implement it. Is anyone available to step me through it? :-|

Member Avatar for tigerxx
0
116
Member Avatar for mmr

Hi All, I am working with Internal Frames. I used JDesktopPane and added 2 frames to it. I made one frame visible and the other was setVisible(false). This happens when I first run the program(Only first frame appearing). Now, what I want is to make the second frame visible, when …

Member Avatar for tigerxx
0
146
Member Avatar for sunil kumar bob

I am new to PHP and don't know how to upload a picture in database and after uploading how to display it. Plz help me if u know.

Member Avatar for ReDuX
0
192
Member Avatar for the b

I'm making a program that takes the words from one text or data file and transferes it to another. there are not supposed to be any spaces in the second file. I need to know why I can't make this code work. It would not be the completed code but …

Member Avatar for the b
0
328
Member Avatar for Anu

Hi again, since my last thread I proceeded a bit and in the meanwhile took a closer look on Mode13h. I started programming some simple games like Snake etc, but I'm stuck on a specific function I couldn't discover yet: I need a getch(); which aint actually waiting for the …

Member Avatar for vegaseat
0
230
Member Avatar for hill0ster

Please let me know why this is going into an endless loop if you enter a decimal point for your monthly salary, hours worked, or sales. Is there an easy fix? #include <iostream> #include <iomanip> using namespace std; #include <cstdlib> #include <string> bool getEmployeeData (int*, char*, int*, int*, int*, int); …

Member Avatar for Narue
0
125
Member Avatar for jasweb2002

I need to write a class using a vector and this is my first time using vectors. But I have looked through several books/web pages and can't see why this thing won't compile. #include <vector> template <class el> class pQ { public: private: vector<el> a(1); }; Any ideas. There must …

Member Avatar for jasweb2002
0
100
Member Avatar for Diya

plz anyone can send me the code for Round Robin simulation ??? send that to [email]ur_friend_qau@hotmail.com[/email] plz its very urgent i got only 12 hrs plzzzzzzzzzzzzzzzzzzzzzz ALLAH HAFIZ

Member Avatar for zaizch
0
163
Member Avatar for JoBe

Hi everyone, Ive got a question concerning an excersise I have to make in wich I use an array in a function: I have to manually fill an array with twenty numbers randomly and the array has to be used by a function, now, I know how to do this …

Member Avatar for Narue
0
133
Member Avatar for Xaverria

:o I have been sick for the past 2 week, thus causing me to no be able to attend my lesson on parser.But i still got an assignment to hand in.. I would like to as what is parser and how do i use it to link my java application …

Member Avatar for freesoft_2000
0
113
Member Avatar for skywing

Is there a way to change the button's shape from rectangle to circle like those in Windows Media Player ? :?:

Member Avatar for vegaseat
0
150
Member Avatar for hill0ster

need help with current code, I am a newbie. keep in mind, that everything that can be, needs to be passed by value. and only three functions can be called from main. they are getEmployeeData, displayEmployeeInfo, and calculateGrossPay. and all functiontions must keep the header type below. Help is greatly …

Member Avatar for Narue
0
167
Member Avatar for nanosani

I wanna ask .... if I want to save the content of JEditorPane or JTextPane in a file without losing the formatting ... how should I do it .... If I save it to a string ... all the formatting is lost .

Member Avatar for nanosani
0
193
Member Avatar for dontcare

I need help using the GCD Algo. in my program, I can't figure out to use the algo in my program. The algo: int gcd(int a, int b){ assert(b != 0); int rem = a % b; while(rem !=0 ){ a = b; b = rem; rem = a % …

Member Avatar for dontcare
0
156
Member Avatar for dontcare

a program that will allow the user to input two fractions and one of the four operations of +, - , *, and / . Once this information has been entered, the program should compute the operation on the two fractions and then output the answer appropriate labeled. Reducing the …

Member Avatar for dontcare
0
158
Member Avatar for jasonburgess

Hey guys, Could you help me with this particular program, say, named wsh (wimpy shell) that reads commands from standard input, executing them one at a time. After starting the process to run a command, wsh waits for the process to complete before processing the next command. For example, the …

Member Avatar for Narue
0
102
Member Avatar for hill0ster

I have never seen an example of this, but I need to call a function or another bool from inside a bool! If anyone knows how this might go, please let me know. P.S. This website is awsome! Thanks, Paul //something like this, however this is not working... bool getEmployeeData(int …

Member Avatar for Narue
0
478

The End.