Search:

Type: Posts; User: steeno321

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,002

    Loop structuring problem

    I am having a problem with my loop structure code:



    #include <iostream>
    using namespace std;

    void main( )
    {
    cout << "Value 0 will end process!" << endl;
  2. Replies
    6
    Views
    6,426

    Okay thanks I got it working right just had to...

    Okay thanks I got it working right just had to open this project in a new file and it is compiling right. Thanks again!
  3. Replies
    6
    Views
    6,426

    I tried adding a reference to the usage and...

    I tried adding a reference to the usage and removing int from 'Read'. I still am getting the same error. The changes are:


    // Description: Calculate the water bill given the cubic feet of water...
  4. Replies
    6
    Views
    6,426

    Sorry I am just beginning to learn and use C++. ...

    Sorry I am just beginning to learn and use C++. I was under the assumption the 'Read' function assigned the usage value into the 'Main'? Do I need to reference the usage from 'Read' and then...
  5. Replies
    6
    Views
    6,426

    Uninitialized local variable

    I am having trouble figuring out why I am getting an Unitialized Local Variable error in my code. The program calculates the charge associated with water depending on usage.
    Here is the code:

    ...
Results 1 to 5 of 5