- Elip::String
- Elip::Vector
- Elip::Map
- Elip::File
- Str
- Split
- And more
- 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"
- Filesystem:
#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());
}
- Format and Printf:
#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);
}
- Strings:
Elip::String myString("hello python hello");
myString.Replace("python", "amo");
myString.TrimLeft("hello");
Elip::Printf("{}\n",myString);