This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Tobias Trompell 18.12.2018 | |
| Adresse.cpp für Adressen Klasse | |
| */ | |
| #include "Adresse.h" | |
| string Adresse::getStrasseNr() const | |
| { | |
| return StrasseNr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Tobias Trompell 17.12.2018 | |
| haus.cpp für die Haus-Klasse | |
| */ | |
| #include <iostream> | |
| #include "haus.h" | |
| int Haus::getZimmer() const | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Tobias Trompell 03.12.2018 | |
| funktionen.c für das Einlesen & Ausgeben einer Textdatei | |
| */ | |
| #include <stdio.h> | |
| int evaluateTextFile(char* file) | |
| { | |
| int i, j; |