הקוד
#include <string.h> #include <stdio.h> #include <malloc.h> #include <stdlib.h> #include <math.h> #include <iostream.h> #include <iso646.h> #include <math.h> //**********************************hashing file******************************// void hash() { FILE *fin; char chr; int i; fin=fopen("d:/dugma.txt","r"); for(i=1;i<18;i++) { cout<<fread(&chr,sizeof(chr),1,fin); } cout<<endl; } //*********************************main***************************************// void main() { hash(); }