Renombrado de archivos
This commit is contained in:
parent
efc819f83d
commit
b9e87379b9
|
|
@ -1,4 +1,4 @@
|
|||
#include "API.h"
|
||||
#include "api.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
|
@ -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();
|
||||
Loading…
Reference in New Issue
Block a user