Skip to content

print command

Paweł Waligóra edited this page Dec 15, 2023 · 11 revisions

Print

Call

program call with print command:

./knapsack-solver.exe print [text]

Functionality

Prints [text] on console.

print responds to \n, \t and other special characters.

Why would you need this?

print command is useful when you run multiple tasks with tasks command and you display results of these commands on console. print allows you to write some text in between the commands, which can improve redability of the output.

Arguments

[text] - text that will be printed on console.