Renombrado de archivos

This commit is contained in:
Fernando 2024-08-05 21:47:54 -06:00
parent efc819f83d
commit b9e87379b9
3 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#include "API.h"
#include "api.h"
#include <cstdlib>
#include <iostream>

View File

View File

@ -1,19 +1,23 @@
#include <iostream>
#include <string>
#include "API.h"
#include "api.h"
void log(const std::string& text) {
std::cerr << text << std::endl;
}
void log(const int& num) {
std::cerr << num << std::endl;
}
int main(int argc, char* argv[]) {
log("Running...");
API::setColor(0, 0, 'G');
API::setText(0, 0, "abc");
// API::setText(0, 0, "abc");
API::setWall(1, 0, 'e');
while (true) {
if (!API::wallLeft()) {
API::turnLeft();
//std::cerr << API::mazeWidth() << std::endl;
}
while (API::wallFront()) {
API::turnRight();