11 lines
248 B
C++
11 lines
248 B
C++
#include "Radfahrzeug.h"
|
|
#include <sstream>
|
|
|
|
string Radfahrzeug::text()
|
|
{
|
|
stringstream ausgabe;
|
|
|
|
ausgabe << "Radfahrzeug - Position x: " << x << "; Position y: " << y << "; Anzahl Räder: " << anzahl_raeder;
|
|
|
|
return ausgabe.str();
|
|
} |