Search the Community
Showing results for tags 'dynamically'.
Found 1 result
//! Dynamically allocated WbtSystem object to communicate with the WBT. WbtApi::WbtSystem* m_WBT; I sometimes use pointers and call them from my mainwindow source in QT. Occasionally i do not use them properly and it leads to segment faults. I often at that point just make all the pointers into variables and run it that way. Is there anything wrong with this? Can you explain the difference in performance i will see from using dynamically allocated pointers versus using statically declared variables?