Definiert in iostream
Schreibt in den Standardoutput.
Beschreibung
std::cout << type [...]Parameters
type
Zu schreibende Daten. Der Datentyp wird automatisch erkannt.
Example
Einfaches Beispiel
#include <iostream>
int main()
{
std::cout << "Hello, World!";
}Mehr daten auf einmal ausgeben
#include <iostream>
int main()
{
int x = 42;
float pi = 3.14;
std::cout << "Here are some numbers: " << x << pi;
}