Search:

Type: Posts; User: Jamina

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,455

    Lost with this program....

    I would like to create a program with a Student class, which will have semesterHours and gpa as data members that will keep track of the overall semesterHours and gpa for the student respectively. ...
  2. Replies
    4
    Views
    2,421

    Class Definition?

    In a class definition, what line of code would create a default constructor to initialize the two parameters (fltNum and fltMiles) of class Flight to 0 for both values?




    class Flight
    {

    //...
  3. Replies
    5
    Views
    1,097

    Creating a variable

    I am looking for lines of code that would create a variable of the Flight structure named myFlight and assign 1274 as the flightNumber and 675 as the flightMiles?

    This is what I think:



    ...
  4. Replies
    3
    Views
    1,330

    User defined structure

    I wrote a code that would create a user-defined structure named Flight with flightNumber and flightMiles members



    struct Flight
    {
    int flightNumber;
    int flightMiles;
    };
  5. Replies
    3
    Views
    1,759

    Pointers problem

    Thanks for letting me know about the code tags, I am new to this forum, just trying to get some help from others.

    Thanks

    Jamina




    #include<iostream>
  6. Replies
    3
    Views
    1,759

    Pointers program

    Hello Gurus:

    I have been trying to create this program using pointers, below is what I have done so far, however I am not quite getting the pointers part.
    I have created a program that will...
Results 1 to 6 of 6