Search:

Type: Posts; User: Khufu

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    19,737

    Thank you both laser light & Adrian - for taking...

    Thank you both laser light & Adrian - for taking time to give me answers that have helped me to resolve this problem.
  2. Replies
    7
    Views
    19,737

    The function is passed a reference that is...

    The function is passed a reference that is represented by n. It doesn’t return anything. That’s seems simple enough.

    I’m not trying to learn about functions. I just asked for help with a class...
  3. Replies
    7
    Views
    19,737

    Errors generated by code

    The errors are longer than the program code:


    exercise2.cpp:17:19: error: C++ requires a type specifier for all declarations
    void read_ages(&name, n) // member function
    ^...
  4. Replies
    7
    Views
    19,737

    What is wrong with this C++ code?

    #include "std_lib_facilities.h"


    class name_pairs
    {
    public:
    double age;
    string name;
Results 1 to 4 of 4