Funcions-can they return more than 1 value?
Hi,
Just practising making my own header files and functions.I have created a function that generates 4 different varibles.I have set the function to return all 4.It compiles fine but when i call the function in main and then try and cout the 4 values the programme just closes without any out put.
Have tried to include the 'couting'(if you get my meaning:)) of the value's within the function,but the compiler starts showing an error(cout-undeclared identifier).
Any ideas?