Oh, duh! Thanks for pointing that out. So now, as my program stands, whatever integers I input, they are sorted and output in ascending order. But I don't want the numbers that are repeated to be...
Type: Posts; User: MyntiFresh
Oh, duh! Thanks for pointing that out. So now, as my program stands, whatever integers I input, they are sorted and output in ascending order. But I don't want the numbers that are repeated to be...
Thanks. I got it now!!!
I've finally gotten my program to output in the column format I wanted. But I'm having some trouble getting the spacing between everything right. Because the names the user inputs can be different...
OK... I've done some revising. But there's still something wrong right now. If someone could copy my code into their compiler and see what is happening when you execute it maybe you could tell me...
I'm writing this program right now where the user inputs integers with a limit of 100 integers and entering -999 to denote the end of the list. I'm having some trouble... it seems like the way that I...
thanks. I guess the biggest problem I'm having right now with the execution is that it's not coming out in table format. I want the names to output in a list, then the votes received to output in...
Sorry... yeah, I changed the array to a string array (that was my bad). What the program is supposed to do is the user inputs candidate's name and how many votes they received (there are 5...
OK.... but my data is still coming out very weird when I execute. Ideas???
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
int main()
I'm learning to program with arrays and thought I was getting the concept until I executed my program. If someone could point me in the direction of my mistakes I'd really appreciate it.
...
Thanks. I got it now!
Thanks... I've done that and it works.... but I don't want the program to continue getting numbers. What the program is doing now is when i input 'x' it still asks me for the numbers, then once I've...
I haven't learned pointers yet, so I don't know what to do. Everything in the program runs fine... I just can't figure out now that I have the menu looping, how do I make it so that the program exits...
I don't follow. What do you mean?
Thanks. It's close now.... but now it's not exiting when I input x or X. Here's the main function....
#include <iostream>
void menu(char&, int&, int&, int&, int&);
void addFractions(int,...
Thanks! I'm very glad to hear that. LOL
Duh.... brain fart on that one. Thanks for pointin that out. OK... so I got my program working almost perfectly. But... I want it to keep executing until the user inputs 'x'. Right now it's ending...
Ok, been doing some revisions. I'm still getting one error and a warning....
~~~~C:\Program Files\Microsoft Visual Studio\MyProjects\Ch8_Ex6_West\Ch8_Ex6_West.cpp(23) : warning C4091: '' : ignored...
These are the errors that are showing up. And I have added the break statements and this is what I'm still getting.
C:\Program Files\Microsoft Visual...
Nope... that's not the problem. I'm still getting the same errors.
Can anyone tell me what I'm doing wrong in this program? I think it has to do with trying to call a function in a switch... but I don't know how else to put it. Help? (I'm just putting in up to the...
Thanks. I got it now. Sorry for seeming so dense about this stuff... I'm just learnin'.
I want to return the enumerator indentifier itself, not the enumerator value. But we're supposed to be able to do that using only the one function I have written there. Am I using the wrong kind of...
I'm supposed to be able to return the shape of the triangle from the triangleShape function.
The point of my program though is on using the enumeration type. Shouldn't there be another way for me to return what I want it to?
But for an enumeration type, aren't "scalene, isosceles, etc" variables, not strings? How would I set that up if making it return a string is the only way I can do it?