Okay, I am still having some problems with my functions, but will re-read the links that you sent me earlier. Thank you so much for all of your help! I really really appreciate it!!
Type: Posts; User: llind212
Okay, I am still having some problems with my functions, but will re-read the links that you sent me earlier. Thank you so much for all of your help! I really really appreciate it!!
Okay, I did this for both functions that required passing the variables by reference. Thank you for pointing that out to me.
While there are no errors that coming up when I compile the program. It...
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <iomanip>
using namespace std;
//This function displays a brief overview explaining the program to the user
void...
bookSales2_LindsayLewis.cpp: In function `int main()':
bookSales2_LindsayLewis.cpp:101: error: expected primary-expression before "float"
bookSales2_LindsayLewis.cpp:101: error: expected...
Okay, understood. What does 'expected primary-expression before "float"' mean?
Okay, great. I knew that I needed to pass the variables into the other functions. Now I understand where I was wrong and where to make my changes. I am still having the following errors:
...
It does not compile. I am having trouble understanding how to obtain input from the external file, and do not understand ifstream fp, passing by reference and what to put in the parameters.
The...
I am a beginner student in desperate need of help writing a program. Recently, we have learned about functions, loops and reading from data files. My assignment is to write a program (Book Sale...
I'm a beginning student learning about loops. My assignment is to write a program that will calculate the total amount of money for book sales at an online store and to provide the subtotal, tax,...
I'm a beginner student learning about functions and do not understand them fully. My assignment was to write a program that deals with temperature conversion. My program had to use 6 functions (1....
I am a beginner student learning to use C++ programming. My assignment is to create a program regarding shipping charges. There are three different shipping services (regular, priority, overnight),...
I am a beginner c++ student with an assignment to create a car loan calculator. I am having trouble with the calculations of the monthly payment, which I assume is because the operands are of...