Skip to content

Commit 791e446

Browse files
authored
Merge branch 'mouredev:main' into principal
2 parents ddfe434 + e5f05b9 commit 791e446

File tree

445 files changed

+57962
-2493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

445 files changed

+57962
-2493
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
2828
## Corrección y próximo ejercicio
2929

30-
> #### Lunes 19 de agosto de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31-
> #### Consulta el **[horario](https://discord.gg/rhEef2uu?event=1270224992600326217)** por país y crea un **[recordatorio](https://discord.gg/rhEef2uu?event=1270224992600326217)**
30+
> #### Lunes 9 de septiembre de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31+
> #### Consulta el **[horario](https://discord.gg/7A9NDvrb?event=1277739431696138385)** por país y crea un **[recordatorio](https://discord.gg/7A9NDvrb?event=1277739431696138385)**
3232
3333
## Roadmap
3434

@@ -67,7 +67,10 @@
6767
|30|[SOLID: PRINCIPIO DE INVERSIÓN DE DEPENDENCIAS](./Roadmap/30%20-%20SOLID%20DIP/ejercicio.md)|[📝](./Roadmap/30%20-%20SOLID%20DIP/python/mouredev.py)|[▶️](https://youtu.be/wxIj6Rs8rAU)|[👥](./Roadmap/30%20-%20SOLID%20DIP/)
6868
|31|[SIMULADOR JUEGOS OLÍMPICOS](./Roadmap/31%20-%20SIMULADOR%20JUEGOS%20OLÍMPICOS/ejercicio.md)|[📝](./Roadmap/31%20-%20SIMULADOR%20JUEGOS%20OLÍMPICOS/python/mouredev.py)|[▶️](https://youtu.be/JN656lQ9WBo)|[👥](./Roadmap/31%20-%20SIMULADOR%20JUEGOS%20OLÍMPICOS/)
6969
|32|[BATALLA DEADPOOL Y WOLVERINE](./Roadmap/32%20-%20BATALLA%20DEADPOOL%20Y%20WOLVERINE/ejercicio.md)|[📝](./Roadmap/32%20-%20BATALLA%20DEADPOOL%20Y%20WOLVERINE/python/mouredev.py)|[▶️](https://youtu.be/u2Tn2H3pqjw)|[👥](./Roadmap/32%20-%20BATALLA%20DEADPOOL%20Y%20WOLVERINE/)
70-
|33|[RESCATANDO A MICKEY](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/ejercicio.md)|[🗓️ 19/08/24](https://discord.gg/rhEef2uu?event=1270224992600326217)||[👥](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/)
70+
|33|[RESCATANDO A MICKEY](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/ejercicio.md)|[📝](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/python/mouredev.py)|[▶️](https://youtu.be/Bo9Cp3N68C0)|[👥](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/)
71+
|34|[ÁRBOL GENEALÓGICO DE LA CASA DEL DRAGÓN](./Roadmap/34%20-%20ÁRBOL%20GENEALÓGICO%20LA%20CASA%20DEL%20DRAGÓN/ejercicio.md)|[📝](./Roadmap/34%20-%20ÁRBOL%20GENEALÓGICO%20LA%20CASA%20DEL%20DRAGÓN/python/mouredev.py)|[▶️](https://youtu.be/GAHBOAzgE2w)|[👥](./Roadmap/34%20-%20ÁRBOL%20GENEALÓGICO%20LA%20CASA%20DEL%20DRAGÓN/)
72+
|35|[REPARTIENDO LOS ANILLOS DE PODER](./Roadmap/35%20-%20REPARTIENDO%20LOS%20ANILLOS%20DE%20PODER/ejercicio.md)|[📝](./Roadmap/35%20-%20REPARTIENDO%20LOS%20ANILLOS%20DE%20PODER/python/mouredev.py)|[▶️](https://youtu.be/10i2dnaMLj8)|[👥](./Roadmap/35%20-%20REPARTIENDO%20LOS%20ANILLOS%20DE%20PODER/)
73+
|36|[EL SOMBRERO SELECCIONADOR](./Roadmap/36%20-%20EL%20SOMBRERO%20SELECCIONADOR/ejercicio.md)|[🗓️ 09/09/24](https://discord.gg/7A9NDvrb?event=1277739431696138385)||[👥](./Roadmap/36%20-%20EL%20SOMBRERO%20SELECCIONADOR/)
7174

7275
## Cursos en YouTube
7376

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// https://isocpp.org/
2+
//ademas usaré la documentacion de
3+
//https://dev.epicgames.com/documentation/en-us/unreal-engine/epic-cplusplus-coding-standard-for-unreal-engine
4+
5+
// este es un comentario en una sola linea
6+
7+
/*
8+
esto es un comentario
9+
en varias lineas
10+
*/
11+
12+
#include <iostream>
13+
#include <string>
14+
15+
int main() {
16+
//variable
17+
int num = 08;
18+
19+
//datos primitivos
20+
21+
int numerico = 08;
22+
float decimal = 2.3f;
23+
double decimal2 = 3.5;
24+
bool boleana = true;
25+
26+
std::string Hola = "Este es el string";
27+
28+
const float PI = 3.1416;
29+
30+
std::cout << "!Hola C++¡";
31+
32+
return 0;
33+
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
/*
2+
* Are you ready to learn or review the programming language of your choice?
3+
* - Remember that all participation instructions are in the
4+
* GitHub repository.
5+
*
6+
* First things first... Have you already chosen a language?
7+
* - Not all of them are the same, but their fundamentals are usually common.
8+
* - This first challenge will help you familiarize yourself with how to participate
9+
* by submitting your own solutions.
10+
*
11+
* EXERCISE:
12+
* - Create a comment in the code and place the URL of the official website of
13+
* the programming language you have selected.
14+
* - Represent the different syntaxes that exist for creating comments
15+
* in the language (single line, multiple lines...).
16+
* - Create a variable (and a constant if the language supports it).
17+
* - Create variables representing all the primitive data types
18+
* of the language (strings, integers, booleans...).
19+
* - Print the text to the terminal: "Hello, [and the name of your language]!"
20+
*
21+
* Easy? Don't worry, remember that this is a study path and
22+
* we must start from the beginning.
23+
*/
24+
25+
// Documentation: https://go.dev/doc/tutorial/getting-started
26+
27+
package main
28+
29+
import (
30+
"fmt"
31+
"unsafe"
32+
)
33+
34+
// Declaring a constant
35+
const greeting = "Hello"
36+
37+
func main() {
38+
// Declaring a variable
39+
var name string = "World"
40+
fmt.Println(greeting + ", " + name + "!")
41+
42+
// Modifying the variable
43+
name = "Go"
44+
fmt.Println(greeting + ", " + name + "!")
45+
46+
types()
47+
}
48+
49+
50+
func types(){
51+
// Integer types
52+
var intVar int = 42
53+
var int8Var int8 = 127
54+
var int16Var int16 = 32767
55+
var int32Var int32 = 2147483647
56+
var int64Var int64 = 9223372036854775807
57+
58+
var uintVar uint = 42
59+
var uint8Var uint8 = 255
60+
var uint16Var uint16 = 65535
61+
var uint32Var uint32 = 4294967295
62+
var uint64Var uint64 = 18446744073709551615
63+
64+
// Floating-point types
65+
var float32Var float32 = 3.14159265358979323846
66+
var float64Var float64 = 3.14159265358979323846
67+
68+
// Complex types
69+
var complex64Var complex64 = 3.14 + 2.7i
70+
var complex128Var complex128 = 3.14 + 2.7i
71+
72+
// Boolean type
73+
var boolVar bool = true
74+
75+
// String type
76+
var stringVar string = "Hello, Gabriel!"
77+
78+
// Byte (alias for uint8) and Rune (alias for int32)
79+
var byteVar byte = 'A'
80+
var runeVar rune = '☺'
81+
82+
fmt.Printf("int: %v, Type: %T, Size: %d bytes\n", intVar, intVar, unsafe.Sizeof(intVar))
83+
fmt.Printf("int8: %v, Type: %T, Size: %d bytes\n", int8Var, int8Var, unsafe.Sizeof(int8Var))
84+
fmt.Printf("int16: %v, Type: %T, Size: %d bytes\n", int16Var, int16Var, unsafe.Sizeof(int16Var))
85+
fmt.Printf("int32: %v, Type: %T, Size: %d bytes\n", int32Var, int32Var, unsafe.Sizeof(int32Var))
86+
fmt.Printf("int64: %v, Type: %T, Size: %d bytes\n", int64Var, int64Var, unsafe.Sizeof(int64Var))
87+
88+
fmt.Printf("uint: %v, Type: %T, Size: %d bytes\n", uintVar, uintVar, unsafe.Sizeof(uintVar))
89+
fmt.Printf("uint8: %v, Type: %T, Size: %d bytes\n", uint8Var, uint8Var, unsafe.Sizeof(uint8Var))
90+
fmt.Printf("uint16: %v, Type: %T, Size: %d bytes\n", uint16Var, uint16Var, unsafe.Sizeof(uint16Var))
91+
fmt.Printf("uint32: %v, Type: %T, Size: %d bytes\n", uint32Var, uint32Var, unsafe.Sizeof(uint32Var))
92+
fmt.Printf("uint64: %v, Type: %T, Size: %d bytes\n", uint64Var, uint64Var, unsafe.Sizeof(uint64Var))
93+
94+
fmt.Printf("float32: %v, Type: %T, Size: %d bytes\n", float32Var, float32Var, unsafe.Sizeof(float32Var))
95+
fmt.Printf("float64: %v, Type: %T, Size: %d bytes\n", float64Var, float64Var, unsafe.Sizeof(float64Var))
96+
97+
fmt.Printf("complex64: %v, Type: %T, Size: %d bytes\n", complex64Var, complex64Var, unsafe.Sizeof(complex64Var))
98+
fmt.Printf("complex128: %v, Type: %T, Size: %d bytes\n", complex128Var, complex128Var, unsafe.Sizeof(complex128Var))
99+
100+
fmt.Printf("bool: %v, Type: %T, Size: %d bytes\n", boolVar, boolVar, unsafe.Sizeof(boolVar))
101+
fmt.Printf("string: %v, Type: %T, Size: %d bytes\n", stringVar, stringVar, unsafe.Sizeof(stringVar))
102+
103+
fmt.Printf("byte: %v, Type: %T, Size: %d bytes\n", byteVar, byteVar, unsafe.Sizeof(byteVar))
104+
fmt.Printf("rune: %v, Type: %T, Size: %d bytes\n", runeVar, runeVar, unsafe.Sizeof(runeVar))
105+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
//Reto #00 SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO;
2+
3+
4+
public class Ainoaran {
5+
6+
public static void main(String[] args) {
7+
8+
//URL Sitio oficial JAVA: https://docs.oracle.com/javase/8/docs/api/
9+
10+
/*Comentarios:
11+
- Los comentarios de una sola línea se realizan utilizando "//"
12+
- Los comentarios en varias líneas se inicializan con "/*" y se finaliza con '* /'
13+
*/
14+
15+
//VARIABLES:
16+
17+
String variable = "Es una variable";
18+
final String constante = "Es una constante";
19+
20+
//DATOS PRIMITIVOS:
21+
22+
// Byte: Ocupa 8 bits (1 byte). Valores de -128 a 127 (inclusive).
23+
byte age = 25;
24+
25+
// Short: Ocupa 16 bits (2 bytes). Valores de -32,768 a 32,767 (inclusive).
26+
short year = 2024;
27+
28+
// int: Numero entero. Ocupa 32 bits (4 bytes). Valores de -2,147,483,648 a 2,147,483,647 (inclusive).
29+
int population = 8200000 ;
30+
31+
// long: Número entero largo. Ocupa 64 bits (8 bytes). Valores de -9,223,372,036,854,775,808 a 9,223,372,036,854,775,807 (inclusive).
32+
long distance= 1000000000L;
33+
34+
// float: Número de punto flotante de precisión simple. Ocupa 32 bits (4 bytes).
35+
float height = 1.75f;
36+
37+
// double: Número de punto flotante de doble precisión. Ocupa 64 bits (8 bytes).
38+
double decimal = 6371.0;
39+
40+
// char: Un solo carácter Unicode. Ocupa 16 bits (2 bytes).
41+
char character = 'A';
42+
43+
// boolean: Valor booleano, true o false. Ocupa 1 bit.
44+
boolean isAdult = true;
45+
46+
// Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
47+
48+
System.out.println("¡Hola, Java!");
49+
}
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
public class Anaroncero {
2+
public static void main(String[] args) {
3+
4+
/*
5+
* EJERCICIO:
6+
* - Crea un comentario en el código y coloca la URL del sitio web oficial del
7+
* lenguaje de programación que has seleccionado.
8+
* - Representa las diferentes sintaxis que existen de crear comentarios
9+
* en el lenguaje (en una línea, varias...).
10+
* - Crea una variable (y una constante si el lenguaje lo soporta).
11+
* - Crea variables representando todos los tipos de datos primitivos
12+
* del lenguaje (cadenas de texto, enteros, booleanos...).
13+
* - Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
14+
*
15+
* ¿Fácil? No te preocupes, recuerda que esta es una ruta de estudio y
16+
* debemos comenzar por el principio.
17+
*/
18+
19+
20+
// 1.
21+
// https://www.java.com/es/
22+
23+
// 2.
24+
/* Comentario
25+
varias
26+
líneas */
27+
28+
// Comentario en una línea
29+
30+
// 3.
31+
String variable = "anaroncero";
32+
final String variable2 = "usuario";
33+
34+
// 4.
35+
// enteros
36+
byte num1 = 1; // –128 a 127
37+
short num2 = 30000; // –32,768 a 32,767
38+
int num3 = 2000000000; // –2,147,483,648 a 2,147,483,647
39+
long num4 = 9000000; // –9,223,372,036,854,775,808 a 9,223,372,036,854,775,807
40+
41+
// decimales
42+
float pi = 3.1415926535f; // 4 bytes
43+
double e = 2.718281828459045235360; // 8 bytes
44+
45+
// carácter
46+
char c = 'A';
47+
char cnumerico = 78;
48+
49+
// alfanuméricos
50+
String cadena = "Hola Mundo";
51+
52+
// booleanos
53+
boolean verdadero = true;
54+
boolean falso = false;
55+
56+
// 5.
57+
System.out.println("Hola JAVA!");
58+
}
59+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
public class EnrGarVic {
2+
/*
3+
* EJERCICIO:
4+
* - Crea un comentario en el código y coloca la URL del sitio web oficial del
5+
* lenguaje de programación que has seleccionado.
6+
* - Representa las diferentes sintaxis que existen de crear comentarios
7+
* en el lenguaje (en una línea, varias...).
8+
* - Crea una variable (y una constante si el lenguaje lo soporta).
9+
* - Crea variables representando todos los tipos de datos primitivos
10+
* del lenguaje (cadenas de texto, enteros, booleanos...).
11+
* - Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
12+
*/
13+
14+
// comentario
15+
16+
/*comentario largo */
17+
18+
19+
20+
//crear variables
21+
int numero = 10;
22+
final String NOMBRE="Kike";
23+
24+
/*Crea variables representando todos los tipos de datos primitivos
25+
del lenguaje (cadenas de texto, enteros, booleanos...).*/
26+
byte numByte = 0;
27+
short numShort = 0;
28+
long numLong = 0L;
29+
float numFloat = 0.0F;
30+
String cadena = "Hola";
31+
int num = 10;
32+
double decimal = 10.5;
33+
boolean bandera = true;
34+
char caracter = 'a';
35+
36+
/*Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"*/
37+
38+
public static void main(String[] args) {
39+
System.out.println("¡Hola, Java!");
40+
}
41+
42+
}
43+
44+
45+
46+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
public class LucasAG01 {
2+
3+
4+
public static void main(String[] args) {
5+
6+
7+
//https://www.java.com/es/
8+
9+
//Esto es un comentario
10+
11+
/*
12+
Aquí dentro puede haber otro comentario
13+
14+
las personas tambien declaran las variables y luego les dan valores en otras lineas siguientes.
15+
16+
*/
17+
18+
//Constante
19+
final int CONSTANTE_NUMERO = 12;
20+
21+
//variables
22+
23+
int numer0 = 12;
24+
//hay que poner L
25+
long numGrande = 321312312L;
26+
//hay que poner f
27+
float decimal = 12.3f;
28+
double decimalGrande = 1.56;
29+
short numChico = 10;
30+
boolean check = true;
31+
char carcter = 'a';
32+
byte eso = 10;
33+
String texto = "QUE CARALLO";
34+
35+
System.out.println("Hola,¡Java!");
36+
37+
}
38+
}

0 commit comments

Comments
 (0)