Thank you I just want to let anyone know that I actually didnt need this for school. I did want to know how this forum worked cause the last one just didnt respond. So I thank you for your input. Thank you Lucy I will save that and work on it to help with other programs.
// This is a nonstandard header. Please stop using it and instead use <iostream>.
#inlcude<conio.h> // This is a nonstandard header. Please stop using it for sample code. (And try compiling to catch the typo.)
void main() // This is not correct, it should be int main()
clrscr(); // This is unnecessary and nonstandard. Please stop using it for sample code.
getch(); // This is unnecessary and nonstandard. Please stop using it for sample code.
Nice additions. :rolleyes: And please use [code][/code] tags.
I am locking this thread before it gets out of hand.
There is no way anyone here can know if it is for homework, or for pleasure, or for work/job reasons. With the amount of students out there, the assumption is made that it is homework related.
What we do know is that no matter how the bytes fall, they are intellectual property. It is DaniWeb policy to be a source of information, but not to do the whole project for the requestor. It is a touchy balance that has to be respected.
When we ask for "show work", that implies that you made an effort to understand the problem. This means code out some stuff... it doesn't necessairly have to work, just put your ideas down as to how the program should flow. Coming from a VB background, you shold have some idea of program flow and control. Perhaps write it in VB, and then ask how to convert it to C++. Porting is a skill in itself.
Community members should also not make assumptions on what the poster is asking. If you as a member feel that the poster is "getting away with something" then don't post... let the thread sit empty. A silent non-action speaks profoundly.