#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
const int size = 8;
double getdata (int d, int orderitem[8], int size);
double printcheck (int d, int...
Type: Posts; User: wiresite
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
const int size = 8;
double getdata (int d, int orderitem[8], int size);
double printcheck (int d, int...
I've got another question....
in my program it asks users to enter choices up to 8 times. They can terminate at anytime before 8 otherwise the program will end itself after the 8th choice. I...
I got it to work with your suggestions... thank you soo much for your help!
but i don't understand why "size" mattered when it was declared elsewhere... is that something thats built into the...
I now complied and changed it using Dev-C++
now i get the errors
"too many arguments to" at lines 6,7,8
and
"at this point in file" at lines 18,19,20
I don't understand what those mean :(
I get the following two errors when I try to use "#include <string>" with the using namespace std; It says "Unable to include file "STRING""(for #include <string>) and "Declaration Syntax Error"...
My compiler keeps telling me I have an error using the following code (a function declaration at the beginning of the file)...
double showmenu (int menulist, string menuitem, double price);
...
I'm having a bit of trouble trying to get a string to store in an array ... heres what I have ... I tried following what he said above but I just got confused...
#include <string.h>
using...
I have a program that is supposed to first display a restraunt menu. Then it takes orders... the limitation to this is that you can only take up to 8 orders and only one order per item (there are 8...
sorry for some confusion but the program was also supposed to ask the user how big they wanted the box...
the size of the box was not supposed to be programmed into it. But to be a variable that...
Hi there... sorry about not posting what I had gotten so far. I posted the question then I had to run off to class and I forgot about this topic until I recieved an e-mail saying there was a reply......
Hi there.
A friend and I always are throwing simple challanges at each other and I'd hate to say it but I think my friend has gotten me stumped.
Heres his instructions:
"Devin it took me a...