An open API service indexing awesome lists of open source software.

https://github.com/ignaciopardo/td2_tp2

TD2_TP2
https://github.com/ignaciopardo/td2_tp2

c linked-list student-project

Last synced: over 1 year ago
JSON representation

TD2_TP2

Awesome Lists containing this project

README

          

# TD2_TP2

### ๐Ÿ’พ Trabajo Practico 2 - [Tecnologia Digital II UTDT](https://www.utdt.edu/ver_contenido.php?id_contenido=19866&id_item_menu=31534)

### ๐Ÿง  **Integrantes**: Luca Mazzarello - Camila Migdal Mamrud - Ignacio Pardo

### ๐Ÿ‘จ๐Ÿปโ€๐Ÿซ **Profesor**: David Alejandro Gonzalez Marquez

### ๐Ÿ—ƒ **Estructura del repositorio**:

```C
๐Ÿ“„container.c
//Definicion de las funciones de contenedores

int len(char* s);
//Longitud del string s

int dupStr(char* src, char** dst);
//Duplica un string. Debe contar la cantidad de caracteres totales de src y solicitar la memoria equivalente. Luego, debe copiar todos los caracteres a esta nueva area de memoria. El puntero al nuevo string se almacenara en el doble puntero dst. Ademas, como valor de retorno se debe retornar el tamaรฑo del string

char normalizeChar(char c);
//Retorna el char c en mayuscula

int equalStr(char* s1, char* s2);
//Evalua la igualdad entre los strings s1 y s2 caracter por caracter

int signo(int a);
//Retorna el signo (1/-1) del entero a pasado por parametro, retorna 0 si a = 0

int cmpStr(char* s1, char* s2);
//Compara dos strings en orden lexicografico. Retorna (0 si son iguales, 1 si s1 'a'
int test_cmpStr3a();
//Strings iguales hasta un caracter
int test_cmpStr3b();
//Strings iguales hasta un caracter
int test_cmpStr4a();
//Dos strings diferentes s1 < s2
int test_cmpStr4b();
//Dos strings diferentes s1 > s2
int test_cmpStr4c();
//Dos strings diferentes s1 < s2 (s2 caps)
int test_split1a();
//Un string vacio, count = 1
int test_split1b();
//Un string vacio, count = 2
int test_split1c();
//Un string vacio, count = 3
int test_split2a();
//Un string de un caracter, count = 1
int test_split2b();
//Un string de un caracter, count = 2
int test_split2c();
//Un string de un caracter, count = 3
int test_split3a();
// Un string de multiples caracteres, count = 1
int test_split3b();
// Un string de multiples caracteres, count = 2
int test_split3c();
// Un string de multiples caracteres, count = 5
int test_sortedAdd1();
//Agregar un dato por lista
int test_sortedAdd2();
//Sobre el primer caso, agregar un dato mayor a todos por lista
int test_sortedAdd3();
//Sobre el primer caso, agregar un dato menor a todos por lista
int test_sortedAdd4();
//Sobre el primer caso, agregar un dato que ordenado termine entre dos elementos
int test_contains1();
//Dada una estructura, consultar si existe un dato que se ubique como ultimo dato de alguna de las listas
int test_contains2();
//Dada una estructura, consultar si existe un dato que se ubique como primer dato de algunade las listas
int test_contains3();
//Dada una estructura, consultar si existe un dato que se ubique en el medio de una lista
int test_contains4();
//Dada una estructura, consultar si existe un dato que no este en la lista
int test_inverseDelete1();
//Para un dato que se ubique al comienzo de una lista
int test_inverseDelete2();
//Para un dato que se ubique al final de una lista
int test_inverseDelete3();
//Para un dato que se ubique entre dos nodos de una lista

```


๐Ÿ“… **Fecha**: Octubre 2021





micro_DiTella

### ๐ŸŽ“ Tecnologia Digital II UTDT

[![Linux Build Status](https://github.com/IgnacioPardo/TD2_TP2/blob/main/badge_Linux.svg)](https://replit.com/@IgnacioPardo/TD2TP2)
[![macOS Build Status](https://github.com/IgnacioPardo/TD2_TP2/blob/main/badge_macOS.svg)](https://github.com/IgnacioPardo/TD2_TP2)

```Compiled with gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04.5 LTS) ```