49,761 Topics

Member Avatar for
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
130
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
163
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
146
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
70
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
152
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
469
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
152
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
383
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
123
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
184
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
78
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
210
Member Avatar for hill0ster

Hello Everyone, I was wondering if anyone could show me how to call a function from inside a boolean statement. Something like the example below. I know it isn't right and was wondering if anyone could give me a hint or an example of coding it correctly. Thank you, hill0ster! …

Member Avatar for hill0ster
0
70
Member Avatar for kind4ever

I'm learn c++ alone and need help to write programs plz help me :cry: [COLOR=Magenta]A.Write is the greatest number?[/COLOR] [COLOR=Blue]You have to stor. In an array, twenty integer number given by the user. One these numbers are stored in this array, you have to find the greatest number and print …

Member Avatar for kind4ever
0
155
Member Avatar for Young Teck 06

I am going to the nearest Barnes and Noble store this weekend, with the greatful help of you, I need some C++ recommendation books for beginners. I know I already asked, but just thought I'd ask again, I have $50 so no expensive books. Overall, anybody with help gets a …

Member Avatar for Dave Sinkula
0
119
Member Avatar for msbopape

I am a windows programming student, am doing VC++ but I have a problem about socket programming. I just don't know which code has be written in the clients and which has be written to the server Can somebody help me complete my CSocket programming Best bregards Steward

Member Avatar for FireNet
0
93
Member Avatar for tonja1196

Can you tell me why my loop is not working correctly. I am attempting to have only the groups (20-30),(490-500),and (8120-8130) printed on the screen but all the numbers are printing from 1-8130. We I try the loop by itself is prints fine but when I added to the rest …

Member Avatar for Dave Sinkula
0
97
Member Avatar for tendekai

Anyone out there pliz help me.am new to c++ and the program am supposed to write has to accept 1. 19 country names 2. there populations 3. growth const and i have to use a formula (population*growth const) to find the growth of the country. dispalay sholud be like as …

Member Avatar for Stack Overflow
0
146
Member Avatar for hopeolicious

This is my new program and it is like so killing me I dont understand all those errors I keep getting // Description: This is program 1 of 3 // Display person name, address, calculated and // actual cost of car and color of car 3x. 1 using the For …

Member Avatar for Stack Overflow
0
90
Member Avatar for xxraveteddyxx
Member Avatar for xxraveteddyxx
0
112
Member Avatar for pratima

i have got to write a program to read a set of program n print out the average. it will start by prompting the user for the number of numbers to be read and will then prompt for the individual numbers with a prompt such as Enter Number 23 to …

Member Avatar for clartsonly
0
147
Member Avatar for Layla_2401

Hello Everyone, I'm trying to exchange messages between three different programs, I was able to establish a connection between the Server and Client A programs, but when I added code to include client B program I got an infinite loop. I've enclosed segments of my code. I would really appreciate …

0
68
Member Avatar for jaeSun

ok...i am trying to figure out how to read input .... i am reading input from the command line [code] sh% ./a.out < input_file[/code] within the input_file, it looks like this: [code]0 4 6 7 3 1 3 6 7 4 3 6 2 3 6 7 3 2 4 …

Member Avatar for Stack Overflow
0
273
Member Avatar for nicoletonyf

Hello there, why do I have this message when I try to use subTwoComplex in my testing file? The addTwoComplex works fine but not the "sub"one. What's wrong? thanks error C2039: 'subTwoComplex' : is not a member of 'Complex' *********header file #ifndef COMPLEX_H #define COMPLEX_H class Complex { public: Complex( …

Member Avatar for jaeSun
0
194
Member Avatar for kind4ever

The End.