Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 21 Nov 2012
Offline Last Active Jul 21 2016 04:25 PM

Posts I've Made

In Topic: [SFML & C++] vector erase error?

19 September 2015 - 02:04 PM

The C++98/03 standard's STL implementation of vector::erase() takes only iterator; const_iterator overload has been added in the C++11 standard. However, at least MSVC's implementation has had a const_iterator overload already in VS 2008 (maybe even earlier), which has been a classic gotcha when developing cross-platform C++98/03 projects.

In Topic: Visual Studio and Agile/Scrum book, or other resource, recommendations wanted.

17 September 2015 - 02:10 AM

If you like videos: https://channel9.msdn.com/Browse/Tags

In Topic: C++ as a scripting language

01 July 2015 - 08:36 AM

Check out http://runtimecompiledcplusplus.blogspot.com/. The code is available at https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus. At least one integration example to an existing game engine can be found http://urho3d.prophpbb.com/topic308.html.

In Topic: C++ multiplatform engine/framework/library?

16 January 2015 - 01:13 PM

Urho3D might be worth checking out.

In Topic: Access violation: QTreeWidgetItem

01 September 2014 - 03:33 PM

Usually I've used QTreeWidgetItemIterator like this without any problems: 

QTreeWidgetItemIterator it(treeWidget);

Are you deleting them items somewhere in your code? Remember that QTreeWidgetItems are not QObjects and one must safely delete (remember to set to null) them manually. Your hasRoot logic seems a bit odd. QTreeWidget has a default invisible root item (QTreeWidget::invisibleRootItem()) by default to which all top-level items are added.