No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
Hello, i have a project which requires that i work with three files. two files are text and one file is .dat Currently I have been successful at creating the dat and one of the texts. The project is a bit menu driven and is about stocks, when the program … | |
Re: [CODE]#include <iostream> using namespace std; int main() { char name; cout << "Please Enter Name" << endl; cin >> name; cout << "Your name is" << name << endl; cin.get(); fflush(stdin); return 0; }[/CODE] | |
Hello, I have a problem which goes like this. I need to be able to design a simple class, which i have done, and it must represent any numeric value, which includes a decimal and negative value. So i need to overload the operators, because the '%' will make an … | |
Re: [QUOTE=;][/QUOTE] It is a good practice to not use the system("pause"), the reason is that this will only work on a windows, and if you take it to another computer it won't work. Try using a fflush(stdin); followed by cin.get(); | |
Hello, I started C++ and I have a trouble with this thing. I can't make it work. What I am trying to do is to get the value and calculate the area of a circle using a class type of coding style. Note that this does not even compile. "Where … | |
Hello, I recently started taking classes in c++, and one of our assignments is to create a program that converts Fahrenheit to Celsius degrees. I was able to do so, however I want to make the conversion part into a subprogram, I have some idea on how to write it, … | |
I'm a beginner at c++ and i was given a certain assignment. A person enters a digit, and then this digit is multiplied by 4, but if the multiplied number is greater than 9 then we add its digits, and if the addition still give you greater than nine, then … | |
I need to write a new code which can do the following: Write a function-driven program that gives the new ID for a 4-digit integer entered from the keyboard. The new ID is formed in the following procedure: The last four digits of a social security number (SSN) will have … | |
Hello, I started c++, and I recently got an assignment, which is supposed to calculate the sum, variance, mean deviation, and mean in a set. The user can input any number positive or negative for the set. Because it is a set, the person may enter as many numbers as … | |
Hello, I got a new problem. Our teacher asked us to create a menu-driven program which will make all types of conversions ([url]http://classroom.sdmesa.edu/vtrinh/pp4.html[/url]). This program must be able to do conversions back and forth (like inches to centimeters, and centimeters to inches). Below I started the assignment and so far … | |
Recently I was assigned to create a program driven by a main menu, followed by a submenu, followed by functions. Below is an attempt of mine, which does display the main menu, and from there a user must enter a value to proceed to a second menu, however it doesn't … | |
Hello It's me again, some might have seen a similar string, and it is probably because it is the same, but with a different problem. The following shows a program which uses a function that converts Fahrenheit into Celsius. The problem is that a person can enter any value they … | |
Hello, I recently started a c++ class, and one of the assignments is that we need to create a c++ program which converts Fahrenheit to Celsius. I have succeeded into doing just that, but I need to validate user input's values, meaning that the program must reject any entries that … |
The End.