Hi guys,
I want to copy the information from an array to a Qvector, I know it is simple by iterating the elements, but how to do it without iteration?
I've tried memcpy function but it doesnt work
Thanks
Hi guys,
I want to copy the information from an array to a Qvector, I know it is simple by iterating the elements, but how to do it without iteration?
I've tried memcpy function but it doesnt work
Thanks
SOLVED:
Qt Code:
std::vector<double> auxVector; auxVector.assign(array, array + numberOfElementsInArray); m_myQVector.fromStdVector(auxVector);To copy to clipboard, switch view to plain text mode
Bookmarks