User profile: jlb

User info
User name:jlb
Number of posts:1841
Latest posts:

Error: initial value of reference to non-const must be an lvalue
My compiler emits several lines of messages regarding this issue: [quote]main.cpp|92|error: no match...

Why is my program crashing? Reference error?
My first question is what is with all the pointers?

Program to print a median.
[quote]I thought arrays had to have the numbers already specified in the program or scope?[/quote] N...

Program to print a median.
Since finding the median requires that the elements be sorted so you can pick the middle element(s) ...

Program to print a median.
Have you studied vectors or arrays yet?