Forum: C++ May 6th, 2004 |
| Replies: 3 Views: 7,954 I understand the error I am making and it makes sense. Its funny how once something clicks in your head it seems so simple. My understanding was incomplete. Thank you for helping me get this point... |
Forum: C++ May 5th, 2004 |
| Replies: 3 Views: 7,954 I am struggling with creating a function that is void. I can write the code inline without a function as follows :
#include <iostream>
#include <cmath>
#include <string>
#include <iomanip>
... |
Forum: C++ Apr 6th, 2004 |
| Replies: 8 Views: 29,771 It did help. Plus I got further in the text. A large part of my confusion came from having examples in the book showing functions that appeared to execute BEFORE the main () that used variables that... |
Forum: C++ Mar 30th, 2004 |
| Replies: 8 Views: 29,771 Why can't I declare :
double massGram = (GRAM*massPounds); // Weight in grams
double massKilo = (KILO*massPounds); // Weight in kilo
along with the massPounds? Why can't this global variable... |
Forum: C++ Mar 30th, 2004 |
| Replies: 8 Views: 29,771 Look at the assignment it is a week one beginners assignment. I am in chapter three of my book and I did write the code. Thanks for the kind words of encouragement and support.
My lack of... |
Forum: C++ Mar 30th, 2004 |
| Replies: 8 Views: 29,771 Please help me. I just need an explanation and its really simple! I promise! Here is the assignment and COMPLETED WORKING CODE!
// Description : Write a program to read in an object's mass (in... |