change color.h en colors.h et ajoute dans makefile, et ajout commande ncdu dans tutos shell

This commit is contained in:
hugogogo
2022-03-13 18:38:12 +01:00
parent 70dcef77ab
commit 84f19ea2c0
4 changed files with 13 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#ifndef FILENAME_HPP
# define FILENAME_HPP
# include "color.h"
# include "colors.h"
# include <iostream>
# include <string>

View File

@@ -1,6 +1,16 @@
#include <iostream>
#include <string>
#include "colors.h"
#define N_TEST "1"
int main() {
int i = 0;
std::cout << B_YELLOW "\n[" << ++i << "/" N_TEST "] "
<< "tests :" RESET "\n";
{
}
return 0;
}

View File

@@ -32,7 +32,7 @@ D_SRCS = .
SRCS = main.cpp
D_HEADERS = .
HEADERS =
HEADERS = colors.h
D_OBJS = builds
OBJS = $(SRCS:%.$(EXT)=$(D_OBJS)/%.o)

View File

@@ -7,6 +7,7 @@
**mkdir file{1..10}** creer 10 dossiers nommés de file1 à file10
**pwd** print working directory
**xdg-open .** open working directory
**ncdu** (visual version of 'du' command) quick presentation of directories size
**ssh username@ssh.server.com -p 0000** se connecter a un serveur via ssh en precisant un port