![](https://raw.githubusercontent.com/Troxsoft/Elip/master/Elip.png)
A c++ 20 utils headers
- Elip::String
- Elip::Vector
- Elip::Map
- Elip::File
- Format -> wiht Color(Windows,Linux,MacOS)
- Printf ->with Format
- PrinfWithoutColor ->Prinf without color
- FormatfWithoutColor -> Format without color
- And more
- ChangeTerminalTitle -> (Windows,Linux,MacOS)
- ChangeTerminalCursorPosition -> (Windows,Linux,MacOS)
- ActivateTerminal
- And more
- ExistsFS
- IsFileFS
- IsDirectoryFS
- IsSymLinkFS
- DeleteFS
- CreateDirectoryFS
- CreateSymLinkFS
- CreateFileFS
- And more
- Join
- PrintVector
- ToVect
- ToVectStr
- And more
#include "Elip.hpp"
int main()
{
if (!Elip::ExistsFS("test.txt"))
{
Elip::Printf("{}\n", "No existe el archivo text.txt,creando el archivo");
Elip::CreateFileFS("test.txt");
}
Elip::File data("test.txt");
data.Write("Hola mundo en c++");
Elip::Printf("Datos del archivo: {}\n", data.ReadAsString());
}
#include "Elip.hpp"
using namespace Elip;
int main()
{
// RED RED GREEN
// hello Joaquin!!!
ActivateTerminal();
Printf("{FG_RED}hello {}{FG_GREEN}!!!{FG_RESET}\n", "Joaquin");
auto result = Format("hellooooo {} {}", "C++", 17);
Printf("{}", result);
}
Elip::String myString("hello python hello");
myString.Replace("python", "amo");
myString.TrimLeft("hello");
Elip::Printf("{}\n",myString);
- More examples in examples folder
![License: MIT](https://camo.githubusercontent.com/6cd0120cc4c5ac11d28b2c60f76033b52db98dac641de3b2644bb054b449d60c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)