Difference between revisions of "Relevant Developer Tutorials"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
* https://marcmutz.wordpress.com/effective-qt/containers/ - Qt's vs standard C++ containers. | * https://marcmutz.wordpress.com/effective-qt/containers/ - Qt's vs standard C++ containers. | ||
* http://theory.stanford.edu/~amitp/GameProgramming/ - A* tips and tricks. | * http://theory.stanford.edu/~amitp/GameProgramming/ - A* tips and tricks. | ||
+ | * https://www.reddit.com/r/cpp/comments/7kurp6/recommended_c_tools_for_linux_profiler_static/ - useful C++ tools that can run on Linux. | ||
== Random tips and tricks == | == Random tips and tricks == |
Revision as of 05:30, 20 December 2017
C++
Mudlet uses modern C++11 for the core functionality of the application.
For programming newbies:
- C++ - covers everything C++ basics to advanced.
For experienced programmers:
- Pointers - the core basics of C++. While you can by without needing to know the details, you'll find it really, really useful if you do.
- C++11 - know how to make your life easier with modern C++11.
Random reading:
- catchchallenger wiki - C++, QString benchmarks.
- Effective Qt, Meeting C++ 2015 - tips for modern Qt regarding range-based for, QStrings, and the heap.
- https://github.com/AnthonyCalandra/modern-cpp-features/blob/master/README.md - modern C++ features
- https://marcmutz.wordpress.com/effective-qt/containers/ - Qt's vs standard C++ containers.
- http://theory.stanford.edu/~amitp/GameProgramming/ - A* tips and tricks.
- https://www.reddit.com/r/cpp/comments/7kurp6/recommended_c_tools_for_linux_profiler_static/ - useful C++ tools that can run on Linux.
Random tips and tricks
Determine what auto resolves to with:
template <typename T> struct watzattype; void TriggerUnit::doCleanup() { for(auto & trigger : mCleanupList) { watzattype<decltype(trigger)>{};
Compiler will error and tell you the type, TTrigger*& in this example.