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 » How do I construct a Vector from a C-style array?
Re: How do I construct a Vector from a C-style array? [message #52424 is a reply to message #52423] Mon, 23 September 2019 10:06 Go to previous messageGo to previous message
laleksic is currently offline  laleksic
Messages: 2
Registered: September 2019
Junior Member
Thanks,
This copies the elements one by one in a loop.

I was thinking is there a way to instantly (without copying) wrap a C-style array in a Vector? Since if I understand, Vector is a wrapper around C-style arrays.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Simple way to develope 2D Game
Next Topic: Questions on the editor and hotkeys. And yet.
Goto Forum:
  


Current Time: Fri Jun 07 16:03:17 CEST 2024

Total time taken to generate the page: 0.02955 seconds