returning parameters to mainPass the variables by reference. For example: [code] #include <iostream> void foo( int &num ) //am...
Cant understand ReferencingThe errors are coming from the compiler not know what a string is. Put your declare namespace std be...
Sorting values of an array?Here's a simple selection sort. you could pass j and iMin into swap if you wanted (j and iMin are th...
Cant understand ReferencingSorry about that, I misunderstood what you wanted. Here you go. [code] #include <iostream> #include...
Cant understand Referencing& gets the address of a variable. You don't need it. [code] void MAINPROGRAM( ); //Prototype shoul...