Search:

Type: Posts; User: babe20042004

Search: Search took 0.01 seconds.

  1. How can I retrieve strings using getline and enter them into a two dimensional aray?

    C++. For example the user enters the name Fionna Issac as one whole string. This string is then to be entered into the two dimensional array seats[2][4].
  2. How can I make this program work? Problem with arrays

    #include<iostream>
    #include<string>

    using namespace std;
    void details( string fNum,int dHour,int dMin,int aHour,int aMin, string aircraft);

    int main()
    {
    //Flights...
  3. How can I make this program less wordy for eg. with structs and classes and function?

    I find that my program is a bit too wordy and im not sure as to how i can make it into less line. Can someone help me please?


    #include<iostream>
    #include<string>

    using namespace std;
    void...
  4. Replies
    5
    Views
    1,559

    function and array assistance please

    The function char findMonth(int) is supposed to return the month
    that corresponds to the number entered by the user.

    The int lowestRainfall () function is supposed to return the month with the...
  5. Printing contents of an input file to the screen

    My program is supposed to read from this output file and print the contents to the screen :
    CPTR151‐01
    000143 Doe John Q 10 5
    000143 Doe John Q 10 7
    000143 Doe John Q 10 9
    000143 Doe John P 20...
  6. Replies
    3
    Views
    2,266

    Help with taking input from a file

    The following program should take the following input from this file and calculate the average for Q-Quizzes, P-Programming Assignments and also calculate the final percentage for each student....
  7. Im not sure as to how to edit it.

    Im not sure as to how to edit it.
  8. Editing and Changing c++ text output files

    User should be able to choose whether they would like to add a new student or edit an existing student’s record. User should be able to save the edited document or discard changes.


    #include...
  9. Replies
    2
    Views
    1,352

    WOW! Thanks. I never thought of that possibility....

    WOW! Thanks. I never thought of that possibility. Thank you so much!
  10. Replies
    2
    Views
    1,352

    getine command skipping help!!!

    I'm using getline to receive some characters but it skips out on receiving some of the data. In detail the program skips out asking for the course code the 1st time.
    Here is the code:


    // This...
Results 1 to 10 of 10