Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Pass data of Vector<Vector<double>> into a function call
Pass data of Vector<Vector<double>> into a function call [message #56482] Wed, 17 March 2021 08:13 Go to previous message
sinpeople is currently offline  sinpeople
Messages: 29
Registered: October 2020
Location: Singapore
Promising Member

Hi folks,

I need to pass a data variable of type Vector<Vector<double>> into a function call. What's the best way to do it?
Inside the function call, a clone will be created according to the data passed in, without modifying the value passed in.

Any example of general guidelines on doing this? Thank you!

Best Regards
David WANG
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiply a scalar to every element of a vector
Next Topic: FileIn and Buffer cannot be composed in a class?
Goto Forum:
  


Current Time: Sat Apr 27 17:58:28 CEST 2024

Total time taken to generate the page: 0.01705 seconds