add editorconfig
pass on al file to reformat
This commit is contained in:
parent
34bc39b252
commit
0d28f4f519
27
.editorconfig
Normal file
27
.editorconfig
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# formatting rule for this project
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.cpp]
|
||||||
|
max_line_length = 119
|
||||||
|
|
||||||
|
# Ignored paths
|
||||||
|
[lib/**]
|
||||||
|
indent_size = unset
|
||||||
|
indent_style = unset
|
||||||
|
end_of_line = unset
|
||||||
|
insert_final_newline = unset
|
||||||
|
charset = unset
|
||||||
|
trim_trailing_whitespace = unset
|
||||||
|
|
||||||
|
# Makefiles always use tabs for indentation
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
@ -13,7 +13,7 @@ int main(int argc, char* argv[]) {
|
|||||||
// Read the file to encrypt
|
// Read the file to encrypt
|
||||||
unsigned char* file;
|
unsigned char* file;
|
||||||
//******************************************************************* while a rajouté pour les gros fichier
|
//******************************************************************* while a rajouté pour les gros fichier
|
||||||
// readFile fait l'aloccation mémoire !!! pensé au free
|
// readFile made memory allocation !!! think to free arg
|
||||||
size_t fileLength = O->readFile(&file);
|
size_t fileLength = O->readFile(&file);
|
||||||
|
|
||||||
printf("%d bytes to be encrypted\n", (int)fileLength);
|
printf("%d bytes to be encrypted\n", (int)fileLength);
|
||||||
|
Loading…
Reference in New Issue
Block a user