Skip to content
SpaceOC edited this page Aug 29, 2024 · 2 revisions

Print class

#include "Core/base/print.h"
  • core::print(const std::string& message) - sending a message (without color).
  • core::print(const core::colors& color, const std::string& message) - send message with selected color.
  • core::print(const core::colors& color, const std::vector<*> yourVector) - sending a message with the selected color in the form “[ ‘one value’, ‘another value’ ]” (not always)
  • core::print(const core::colors& color, const std::map<std::string, *> yourMap) - sending a message with the selected color in the form “[ [‘key’: ‘value’], [‘another key’: ‘another value’] ]” (not always)

* - the following types of variables are allowed: std::string, int, float, double, char and bool

Clone this wiki locally