User profile: zrrz

User info
User name:zrrz
History
Joined:
Number of posts:10
Latest posts:

returning parameters to main
Pass the variables by reference. For example: [code] #include <iostream> void foo( int &num ) //am...

Cant understand Referencing
The 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 Referencing
Sorry 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...