Search:

Type: Posts; User: mike

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,145

    Functions are killing me

    Hi can someone please look at this and tell how i can use a switch statement called print to work with my program. I think my problem is in the functions. all the functions work as the program is now...
  2. Replies
    2
    Views
    6,698

    switch statement that uses loop

    Hi
    I am trying to use a loop in this switch statement so i can have the user select another choice.
    here is my code. choice is an interger variable and the cases are funtion calls. they all work...
  3. Replies
    5
    Views
    1,790

    Up date layout of code (I hope this will help you help me)

    #include <iostream.h> // add library
    #include <iomanip.h>

    const double LABOR_COST = 0.35;
    // define constant
    const double TAX_RATE = 8.5;



    double priceCarpet; //global...
  4. Replies
    5
    Views
    1,790

    program that uses multiple funtions

    Hi could someone please take a look at this program and let me know what is needed to make it right. first of all i cant get the formating of the numbers right. i have tried set precision and fixed...
  5. Thread: Functions

    by mike
    Replies
    5
    Views
    982

    Functions

    Thank You all for your help
  6. Thread: Functions

    by mike
    Replies
    5
    Views
    982

    Functions

    Could someone please try and explain funtions clearly to me. I understand the syntax of them but I get confused on returning values and why the prototype statement has different parameter names than...
  7. Thread: binary problem

    by mike
    Replies
    27
    Views
    2,640

    see if this helps. paste code in and run ...

    see if this helps. paste code in and run


    #include "stdafx.h"
    #include <iostream.h> // add library file
    #include <iomanip.h> // add library file


    int main(int argc, char* argv[])
    {
  8. Replies
    2
    Views
    2,349

    display numbers in order

    Hi I am working on a program that is supposed to have the user enter three number between -5 and +5. then the program puts the numbers in order by least to greatest order. here is what i have so far....
  9. Thread: Homework

    by mike
    Replies
    15
    Views
    5,225

    homework

    It is possible that they did not understand how to do it and were confused that this might be a place to get some help. Shame on them for thinking that.
  10. Thread: binary

    by mike
    Replies
    3
    Views
    1,122

    Thanks for your reply. some has already helped me.

    Thanks for your reply. some has already helped me.
  11. Thread: binary

    by mike
    Replies
    3
    Views
    1,122

    binary

    hi!
    I need to write a progam that will convert a number to binary.
    Example
    user enters number between 0 and 15
    output is the value of the number returned to screen
    and then the output in binary...
  12. Thread: *pointers

    by mike
    Replies
    2
    Views
    1,519

    *pointers

    Hi I am new to C++ and I am having trouble with pointers.
    Can someone try and explain it to me so I can understand it.
    Thanks for your time!
Results 1 to 12 of 12