mirror of
https://github.com/augustin64/projet-tipe
synced 2025-02-03 10:48:01 +01:00
Update comments of preview
This commit is contained in:
parent
4afe376353
commit
a352c02a07
@ -6,9 +6,18 @@
|
|||||||
#ifndef DEF_PREVIEW_H
|
#ifndef DEF_PREVIEW_H
|
||||||
#define DEF_PREVIEW_H
|
#define DEF_PREVIEW_H
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Affiche un chiffre de taille width x height
|
||||||
|
*/
|
||||||
void print_image(unsigned int width, unsigned int height, int** image);
|
void print_image(unsigned int width, unsigned int height, int** image);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Prévisualise un chiffre écrit à la main
|
||||||
|
*/
|
||||||
void preview_images(char* images_file, char* labels_file);
|
void preview_images(char* images_file, char* labels_file);
|
||||||
|
|
||||||
|
int main(int argc, char *argv[]);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
|||||||
#include "include/preview.h"
|
#include "include/preview.h"
|
||||||
|
|
||||||
|
|
||||||
// Prévisualise un chiffre écrit à la main
|
|
||||||
// de taille width x height
|
|
||||||
void print_image(unsigned int width, unsigned int height, int** image) {
|
void print_image(unsigned int width, unsigned int height, int** image) {
|
||||||
char tab[] = {' ', '.', ':', '%', '#', '\0'};
|
char tab[] = {' ', '.', ':', '%', '#', '\0'};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user