Skip to content

Instantly share code, notes, and snippets.

int main()
{
char map[] = "xxxFxxxx.....xx..x..xx..x..xF..x..Fx..x..xx..x..xxx.x.xxx..x..xx..x..x";
printMap(map, 71);
char actions[100] = { 0 };
getPlan(map, actions, 64);
printActions(actions, 100);
return 0;
}
int main()
{
char map[] = "xxxFxxxx.....xx..x..xx..x..xF..x..Fx..x..xx..x..xxx.x.xxx..x..xx..x..x";
printMap(map, 71);
char actions[100] = { 0 };
getPlan(map, actions, 64);
printActions(actions, 100);
return 0;
}
package com.company;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.TreeSet;
public class Main {
private static TreeSet<Integer> stringToInt(String array) {
package com.company;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.TreeSet;
public class Main {
private static TreeSet<Integer> stringToInt(String array) {
/*
Tobias Trompell 18.12.2018
Adresse.cpp für Adressen Klasse
*/
#include "Adresse.h"
string Adresse::getStrasseNr() const
{
return StrasseNr;
@Tuuby
Tuuby / haus.cpp
Created December 18, 2018 13:36
Klasse Haus implementieren mit Anzahl der Zimmer und Baujahr als Attributen. Override für i und ostream sind verlangt.
/*
Tobias Trompell 17.12.2018
haus.cpp für die Haus-Klasse
*/
#include <iostream>
#include "haus.h"
int Haus::getZimmer() const
{
/*
Tobias Trompell 03.12.2018
funktionen.c für das Einlesen & Ausgeben einer Textdatei
*/
#include <stdio.h>
int evaluateTextFile(char* file)
{
int i, j;