Arrays in C++

Abhinav Gupta <[email protected]>
Newsgroups gmane.comp.programming.cppug
Message-ID <[email protected]>
Dear friends,
I have a problem regarding arrays in C++. I am trying to implement a function that should return an array of type float.I could not return array using the folllowing code:
 
float[] function name ( function parameters){
float a[10];
:
:
return(a);
}


Abhinav

Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.