Search:

Type: Posts; User: gator6688

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,299

    Anyone know how to use this formula?

    address of the first record in the array + (account number - 1000) * sizeof(int).

    I am supposed to read this file into 4 separate arrays. And, be able to request a user-entered account number and...
  2. Replies
    12
    Views
    1,470

    I only told it to do 2 for now to simplify the...

    I only told it to do 2 for now to simplify the testing purpose. When I get it running right then I will change it to 20.
  3. Replies
    12
    Views
    1,470

    It's telling me that this function does not take...

    It's telling me that this function does not take 1 arguement.

    ...
  4. Replies
    3
    Views
    3,398

    Why my file won't open?

    I am trying to open a file with a program but it keeps failing. I typed the file into notepad and saved it as a .dat file. Does anyone have any ideas why this is happening?


    #include "stdafx.h"...
  5. Replies
    12
    Views
    1,470

    I think I did what you told me to do but now I am...

    I think I did what you told me to do but now I am getting a run time error because it is giving me a negative for my final grade.


    #include "stdafx.h"
    #include <iostream>
    #include <fstream>...
  6. Replies
    12
    Views
    1,470

    The way I have it set up now it assigns the...

    The way I have it set up now it assigns the letter grade of the second student to both students. How can I get it to assign each student their own letter grade? Also, I would rather output the letter...
  7. Replies
    12
    Views
    1,470

    OK. I got that working now. So how could I get...

    OK. I got that working now. So how could I get something like this to work?


    for (int i = 0; i<Grades; i++)
    {
    if (finalGrade>90)
    cout<<"A";
    else if (finalGrade>80)
    ...
  8. Replies
    12
    Views
    1,470

    So I need to put something like...

    So I need to put something like 0.20*gTable[i].getExamOne, etc.?
  9. Replies
    12
    Views
    1,470

    Help getting formula to work.

    I have to write a program that can input up to 20 students name, exam 1 and 2 grades, homework average, and final exam grade. Then it says I have to calculate a final grade using the formula...
  10. Replies
    4
    Views
    1,204

    It makes sense but how can I make it loop like...

    It makes sense but how can I make it loop like that?
  11. Replies
    4
    Views
    1,204

    Help counting people in my array.

    I wrote this program and so far so good but now I have to be able to count how many 1's, 2's, 3's, and 4's were entered. I am at a complete loss of where to begin. Could someone help me get started?...
  12. Replies
    4
    Views
    1,844

    OK. Thanks. I should have known that!

    OK. Thanks. I should have known that!
  13. Replies
    4
    Views
    1,844

    Help figuring out equation.

    How could I write these so that they would work?The "A" and the "F" work but the other 3 don't.


    cout << "Letter Grades" <<endl;
    for (int i = 0; i < MAXGRADES; i++)
    {
    if (grade[i]>89)...
  14. Replies
    3
    Views
    1,524

    Would a for loop work? Maybe something like this:...

    Would a for loop work? Maybe something like this:


    for (i=0; grade[i] < Avg; i++)
    {
    cout << "*" << grade[i];
    }
  15. Replies
    3
    Views
    1,524

    Receiving errors C2446 & C2440.

    I am trying to set this program up so that any grade that is below the average will have an * placed next to it. When I compile I keep getting these two errors. 2446 is no conversion from double to...
  16. Replies
    12
    Views
    3,824

    My teacher said to use global variables.

    My teacher said to use global variables.
  17. Replies
    3
    Views
    1,373

    It's not looking fine on my computer. It looks...

    It's not looking fine on my computer. It looks jumbled.
  18. Replies
    3
    Views
    1,373

    Trying to finish up program.

    When I type in the date it is putting the Sept. in the date spot but it is putting 30, 2007 in the pay to the order slot. Any ideas why?

    Also, when it asks for my input it asks for the date just...
  19. Replies
    12
    Views
    3,824

    When I type in the date it is putting the Sept....

    When I type in the date it is putting the Sept. in the date spot but it is putting 30, 2007 in the pay to the order slot. Any ideas why?


    #include "stdafx.h"
    #include <iostream>
    #include...
  20. Replies
    12
    Views
    3,824

    I figured out how to get the data displayer but...

    I figured out how to get the data displayer but when I enter the date as Sep. 30, 2007 it only shows up as Sep. Any ideas what I am doing wrong?
  21. Replies
    12
    Views
    3,824

    How can I get the data I enter to show up on the...

    How can I get the data I enter to show up on the check?
  22. Replies
    12
    Views
    3,824

    Could anyone tell me if I have the check set up...

    Could anyone tell me if I have the check set up right? And if it is in the right place?
  23. Replies
    12
    Views
    3,824

    Help please with function program.

    I am rather new to C++ and I have to write a program that will accept data for today's date, first name, last name, and amount to an enterData() function and pass it to a printCheck() function. Then...
Results 1 to 23 of 23