No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
15 Posted Topics
I'm having difficulty of inserting a value into a column. When I enter a "ID" number and a value in the "last name" text field, I get an error saying that the "mi" text field can't be an zero length string. So, i enter a value in the "mi" text … | |
An account has the properties account number, balance, annual,interest rate, and date created, and methods to deposit and withdraw.Create two sub classes for checkings and savings account.Checkings account has an overdraft limit, but a savings account cannot be overdrawn. One problem that i'm having is that when I withdraw x … | |
A company has four sales people (1 to 4) who sell five different products(1 to 5). Once a day, each salesperson passes a slip for each different type of product sold. Each slip contains the following: a)the salesperson number b)product number c)total dollar value of that product sold that day … | |
I had this working before, but I modified it and it stop working. So, I change the code back to when it was working and I'm not getting the same results. Here is what I'm getting. How many employees you want to enter? 3 Enter gross pay for each employee: … | |
Whenever i type in code, Visual Studio puts an dot or a tab(->) in between code.I tried uninstalling and reinstalling Visual Studio, but that didn't do anything.I'm not quite sure what i did and i can't find a way to undo it. Thanks! P.s.-I tried to copy and paste the … | |
This program involves tree structures. I need to teach the program three new animals. Also, i need to ask several new questions to guess the right animal too. The problem that I'm having is that I don't know how to get the question to come up when the user enters … | |
I'm in the process of designing a battleship game and I need some help of why I'm coming up with a error. The error is:error C4430: missing type specifier - int assumed. Note: C++ does not support default-int. Another question is, how would i randomly place the battleships in the … | |
[B]Here is the problem:[/B]There are (at least) two ways in which you can make a 12 hour clock. One possibility is to just store hour values from 1 to 12. On the other hand, you can just leave the clock to work internally as a 24 hour clock, but change … | |
[B]Here is the problem[/B]:Change the clock from a 24 hour clock to a 12 hour clock. Be careful: this is not as easy as it might at first seem. In a 12 hour clock the hours after midnight and after noon are not shown as 00:30, but as 12:30. Thus … | |
I'm designing a game "Battleship" and I can't get get rid of a syntax error in the header file. I'm using a 2-D array for my grid. The error is: error C2059: syntax error : '{' The error seems really simple, but for some reason i can't get rid of … | |
The assignment is to design a savings account program. The program has to include: a constructor that accepts an argument of type double and uses it to set savingsBalance. If the value is passed is less than 0, set savingsBalance to 0. Add a public member function named calaculateMonthlyInterest that … | |
The assignment is to design a program that determines the gross pay for each employee. Everything seems to work, but when you input more than 40 hours, it doesn't calculate overtime. Another thing is that, i can't get a message to pop up when someone input an invalid input. I … | |
I am horrible at making UML diagrams.The only one that i can make are the class diagram. The reason why i struggle making UML diagrams is that i don't have the algorithming concept down. Can anyone give me any suggestions that could ease this process for me? Thanks... | |
I need to create two enumerations, one for the months in the year and the other for birthstones. Make a function named getBirthStone that returns the birthstone based on the month. Jan-garnet Feb-amethyst Mar-aquamarine Apr-diamond May-emerald June-pearl July-ruby Aug-peridot Sep-sapphire Oct-opal Nov-topaz Dec-turquoise Add code to call the function when … | |
I'm just having a hard time understanding the syntax of C++. The book(How to program C++ (fifth edition), by Deitel & Deitel) that my school recommended is impossible for me to understand of what is going on. Can anyone offer any advice or suggestion in making the learning curve of … |
The End.