Search:

Type: Posts; User: taurusborn

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,024

    ok

    The program does run however, once the year is entered the program stops. So I am thinking that there is something wrong with:
    int display (int dia, int mes, int anos)
    {
    cout << "";
    return 0;...
  2. Replies
    7
    Views
    1,024

    Help with functions!!!!

    I have three warnings on this program:

    #include <iostream.h>

    int get_month ();
    int get_day ();
    int get_year ();
    int display (int,int,int);

    void main ()
  3. Replies
    3
    Views
    1,711

    thanx

    thanx guys.
  4. Replies
    3
    Views
    1,711

    While statement

    Hey guys I am having trouble with my while statement:

    if (id >= 1 && id <= 499)
    {
    cout << "\nPlease enter hours worked: ";
    cin >> hrs;
    ...
  5. Replies
    2
    Views
    925

    Thanx

    Thanx, David for your help
  6. Replies
    2
    Views
    925

    setw and while statements

    Hey, I am doing a while statement where I am manipulating the outputs. My problem is I dont know how to manipulate each ouput.
    eg: int 1 = 0;

    while(i < 10 )

    {
    i...
  7. Replies
    3
    Views
    1,097

    Thanx

    Thanx a million guys, my program now works, you guys rock!!!:D
  8. Replies
    3
    Views
    1,097

    Need some advice

    Hey guys I need to combine the following into one if statement:

    else if (hrs >= 40.01)
    {
    salary = hrs * payrt * 1.5;
    cout << "\nYour gross pay for the week is " << setw(1) << ":"
    ...
  9. Thread: Help!!!

    by taurusborn
    Replies
    3
    Views
    1,000

    Thanx

    Thanx guys, a million.


    Tony.
  10. Thread: Help!!!

    by taurusborn
    Replies
    3
    Views
    1,000

    Help!!!

    Hey guys,
    I am new here and I am also new to computer programing in general. Anyways I am having trouble with a line in my program:

    cout << '\n' << setw(3) <<num2+2;

    The...
Results 1 to 10 of 10