Relevant Developer Tutorials

From Mudlet
Revision as of 12:47, 6 February 2019 by Kebap (talk | contribs) (→‎Helpful tools: +1)
Jump to navigation Jump to search

C++

Mudlet uses modern C++14 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.

Helpful tools

  • Source Trail - get quick overview of an unfamiliar codebase (like Mudlet, if you're just joining here)
  • draw.io - Draw and share diagrams online

Good reading

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.