feladat3 v2
This commit is contained in:
parent
92766cd621
commit
be585e3fde
14 changed files with 361 additions and 37 deletions
15
feladat3/UnitTest1/feladat3.h
Normal file
15
feladat3/UnitTest1/feladat3.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// IFPQYY | Tóth Dániel Mátyás | V2
|
||||
#pragma once
|
||||
#define MYBUFSIZE 8192
|
||||
#define MYMAXVALUE 65535
|
||||
#define MYMAXFILES 5
|
||||
#define MYMAXFN 128
|
||||
#define OK 0
|
||||
#define NOK (-1)
|
||||
int GetFilenames(int argc, char* argv[],
|
||||
char infilenames[MYMAXFILES][MYMAXFN],
|
||||
char outfilenames[MYMAXFILES][MYMAXFN]);
|
||||
int SortFile(char* infn, char* outfn, unsigned char* buf,
|
||||
unsigned short* pmin, unsigned short* pmax,
|
||||
unsigned short* pavg, unsigned short* pn,
|
||||
unsigned short bufsize = MYBUFSIZE, bool test = false);
|
||||
Loading…
Add table
Add a link
Reference in a new issue