48,985 Topics

Member Avatar for
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
147
Member Avatar for hejones

Here it is: Use functional decomposition to write a C++ program that takes a number in the range of 0 to 6 and a second number in the range of 1 to 366 as input. The first number represents the day of the week on which the year begins, where …

Member Avatar for Dave Sinkula
0
142
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
360
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
119
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
83
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
239
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
129
Member Avatar for mohammad

hi i need help i install microsoft visual c++ 6.0 but if i compile any programme he write error spawing cl.exe plz help me coz i have exam and i need help plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Member Avatar for Dave Sinkula
0
82
Member Avatar for hopeolicious

This is my program but that I have to put it into structure form but without using member functions but i dont see how I can make it run #include <iostream.h> #include <string.h> #include <stdlib.h> #include <iomanip.h> struct hope() { int x; char st_name[25]; char st_address[75]; char st_color[25]; float f_ccost; …

Member Avatar for Stack Overflow
0
89
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
244
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
323
Member Avatar for rpglw18

ok im having this problem. i have a function in which i have to create a triangle using *'s. The user inputs the base and height of the triangle and from that im supposed to print out the shape. Ive been playing with for, and while loops and cant seem …

Member Avatar for rpglw18
0
44
Member Avatar for V5dave

I finally give up. I have here two very simple forms that (for demonstration purposes) consist of a single click button. When you click on the button, the form becomes invisible, and the other becomes visible. you can keep going back and forth till your coffee needs re-heating in the …

0
55
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
122
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
160
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
128
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
162
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
142
Member Avatar for mohammad

hi i need help i install microsoft visual c++ 6.0 but if i compile any programme he write error spawing cl.exe plz help me coz i have exam and i need help plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Member Avatar for Narue
0
69
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
146
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
458
Member Avatar for manos

i wanna know how i can write in C a compiler for checking the multiplication and the division of course... ;)

Member Avatar for Waskar
0
149
Member Avatar for V5dave

am calling Form2 from Form1, and depending on the input in Form2, I want to enable/disable buttons in Form1 when I exit. However, because I need to call Form2 header before I define class Form1, Form1 is not defined when the compiler sees my call to it. If I therefore …

Member Avatar for Narue
0
381
Member Avatar for ellas747

I have a problem. I have this code but the problem is how do i put the results in a histogram form. Can someone please help. #include <iostream> using namespace std; int main() { const int arraySize=30, rangeSize=9; int gross_Sales[arraySize]= { 2430, 3500, 9400, 14300, 4200, 1250, 9990, 5410, 5400, …

Member Avatar for Dave Sinkula
0
122
Member Avatar for hopeolicious

I have to use a while loop to display everything 3 times and then i have to use a do while loop to do the same thing when i added my while and do while loop it keeps on repeating like a millions times and i cant stop it can …

Member Avatar for subtronic
0
131
Member Avatar for hopeolicious

This is my program but i cant get it to calculate my cost These are my calculations: 1) if the color of the car is blue and the cost of the car is less than 1200 add 10% of the cost of the car to the cost of the car …

Member Avatar for ZuK
0
89
Member Avatar for srinivasvs

This is really urgent ..... I would be very thankful for anyone who could suggest me and help me out! Hi all, Can I club two exe files while developing a software... Details are as follows: 1. I want to develop a software in which I want to add features …

Member Avatar for Chainsaw
0
181
Member Avatar for microsoftne

I have created a simple webform that has a submit button. I cannot figure out how so that when the button is pressed it sends the form to an email address. Can anyone help? Thanks

Member Avatar for Narue
0
77
Member Avatar for raed_hasan

I have MFC Application which expected to generate reports in XML formats, my problem I do not have an idea for how simply dealing with XML as found in .NET (XmlDocument Class). can u suggent me with solution? Regards

Member Avatar for Ejaz
0
141
Member Avatar for johnsonkek

HI there guys any one know how to create the correct tone for the sound using c++? i manage to know the basic only c 262 d294 e 330 f 349 f 392 a 440 b 494 c2 524 This is from a handphone ringing tone how do i know …

Member Avatar for vegaseat
0
202

The End.