Forum: Computer Science Nov 11th, 2004 |
| Replies: 3 Views: 7,256 I was wondering if anyone knew of a good community college in southern California that has a great computer science department. I have taken two courses at Los Angeles Valley College and am not... |
Forum: C++ Nov 7th, 2004 |
| Replies: 3 Views: 2,438 #include <iostream>
#include <iomanip>
using namespace std;
#include <string>
int getEmployeeData (string[], char[], const int, double[]);
float calculateGrossPay(string[], char[], double[],... |
Forum: C++ Nov 6th, 2004 |
| Replies: 1 Views: 1,743 #include <iostream>
#include <iomanip>
using namespace std;
#include <string>
int getEmployeeData (string[], char[], const int, double[]);
float calculateGrossPay(string[], char[], double[],... |
Forum: C++ Nov 4th, 2004 |
| Replies: 1 Views: 1,717 I can't seem to get this code to displayEmployeeInfo if the user enters a negative number for ID. Also I can't seem to get a total of all wages to display. Any helpful hints would be greatly... |
Forum: C++ Nov 2nd, 2004 |
| Replies: 0 Views: 1,367 I need to get this code to displayEmployeeInfo if the user enters a negative number for ID. Also I can't seem to get a total of all wages to display.
Any helpful hints would be greatly appreciated.... |
Forum: C++ Oct 29th, 2004 |
| Replies: 2 Views: 1,675 Hello,
I am getting strange values in my display for the salary, hourly or commission.
I do have to use arrays and wondering if there is a simple fix. Maybe I need a pointer to the array? If anyone... |
Forum: C++ Oct 25th, 2004 |
| Replies: 2 Views: 5,433 #include <iostream>
#include <cstring>
using namespace std;
bool equalStrings (char[], char[]); //given here but must complete
// on midterm
int main()
{
char str1[80];
char... |
Forum: C++ Oct 18th, 2004 |
| Replies: 1 Views: 1,733 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... |
Forum: C++ Oct 18th, 2004 |
| Replies: 1 Views: 1,404 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... |
Forum: C++ Oct 17th, 2004 |
| Replies: 3 Views: 2,005 Narue,
The problem is this. When you type in anything other than 's', 'h' or 'c', the program goes into the tryAgain function; as it should. And it you type in 'q' it quits the program. The problem... |
Forum: C++ Oct 17th, 2004 |
| Replies: 3 Views: 2,005 Narue, thanks for all your help with this program! I really appreciate it. I have one last problem. In the function tryAgain, if user presses 'q' or 'Q'; the program terminates. No problem there, but... |
Forum: C++ Oct 17th, 2004 |
| Replies: 1 Views: 2,530 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... |
Forum: C++ Oct 17th, 2004 |
| Replies: 3 Views: 2,149 Narue,
I can pass by address, not by reference. I appreciate any help you can give. Thank you for responding. Paul |
Forum: C++ Oct 16th, 2004 |
| Replies: 3 Views: 2,149 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,... |
Forum: C++ Oct 16th, 2004 |
| Replies: 4 Views: 3,952 Yes, you can call other functions from inside a bool. I may be a newbie, but I would appreciate some respect if you respond to me! Otherwise don't bother responding. |
Forum: C++ Oct 13th, 2004 |
| Replies: 4 Views: 3,952 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,... |
Forum: C++ Oct 13th, 2004 |
| Replies: 2 Views: 3,134 Dave,
Thanks for your help. However I must call the bool isValidStatus from the bool getEmployeeData. If I had a choice I would call it from main. I have seen no examples of how to do this. If... |
Forum: C++ Oct 13th, 2004 |
| Replies: 2 Views: 3,134 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... |