U++ framework
Do not panic. Ask here before giving up.

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: Thu Jun 18 14:36:34 GMT+2 2026

Total time taken to generate the page: 0.00713 seconds