[ create a new paste ] login | about

Link: http://codepad.org/VLkPMnpm    [ raw code | fork ]

C++, pasted on Oct 22:
void erstelleFrosch()
{
	printText( "Es wird ein Frosch erstellt!" );
}

void test(int i)
{
}

class Frosch : Unit
{
	Frosch()
	{
	}
	Frosch( const string& name )
	{
		super( name );
	}
	void print()
	{
		array<string> arr = {"Froschdaten:", "Name: " + _name, "Leben: " + _life};
		string data = join(arr, "\n");
		
		printText( data );
	}
}


Create a new paste based on this one


Comments: