We could find enter as tokenizer.
level_001 infomation:
"\r\n"
We could step back to top of file pointer in this level.
File pointer:
tfp <- fp ( we could find level_001.)
.\main.cpp Sat Sep 05 14:57:39 2020 1 :#include2 :#include 3 : 4 :#include "Print.h" 5 :#include "array_counter.h" 6 :#include "parse.h" 7 : 8 :int filesize( FILE *fp ) ; 9 : 10 :char lines[10][10]; 11 :char dummy[256]; 12 : 13 :int analyze_main () ; 14 :int retrieve (char* filename) ; 15 :int found_enter (char* filename) ; 16 : 17 : 18 :int found_level1 (char* filename) ; 19 :int a_compare (char* s1, char* s2 ) ; 20 : 21 :int found_level_001 (int index, int file_end, FILE *fp ) ; 22 :int found_start (char* filename) ; 23 : 24 : 25 :int main () { 26 : char* filename = ".\\001-specification-003.txt"; 27 :// char b_dummy[256]; 28 : 29 : int result = found_start (filename); 30 : 31 : return 0; 32 :} 33 : 34 :// From Head : 35 :// 36 :// int index : 37 :// int file_end : 38 :// FILE* fp : 39 :int found_level_001 (int index, int file_end, FILE *fp ) { 40 : char b_dummy[256]; 41 : int i, j ; 42 : FILE *tfp; 43 : 44 : tfp = fp; 45 : 46 : for ( i =index; i<file_end; i++ ) { 47 : printf("i: %d loop starts.\r\n", i ); 48 : 49 : for ( j=0; j<255; j++ ) { 50 : b_dummy[ j + 1 ] = b_dummy[ j ]; 51 : } 52 : 53 : fread ( dummy, 1, 1, fp); 54 : b_dummy[ 0 ] = dummy[0]; 55 : 56 : if ( a_compare( (char*)b_dummy, (char*)"\r\n" ) == 1 ) { 57 : printf("We found Eenter |%s| index %d i %d tfp %d fp %d\r\n", b_dummy, index, i, tfp, fp); 58 : exit( -1 ); 59 : } 60 : 61 : printf("i: %d loop ends.\r\n", i ); 62 : } 63 :} 64 : 65 :// 66 :// 67 :// 68 :// 69 :int found_start (char* filename) { 70 : FILE *fp; 71 : char b_dummy[256]; 72 : int i, j ; 73 : int file_end; 74 : 75 : printf("found_start: starts\r\n"); 76 : 77 : fp = fopen(filename, "rb"); 78 : file_end = filesize(fp); 79 : 80 : int a = found_level_001 ( 0, file_end, fp ); 81 : 82 : printf("found_start: ends\r\n"); 83 :}
... case sep=2 a_compare ends i: 117 loop ends. i: 118 loop starts. a_compare| || | 003 case sep=2 a_compare ends We found Eenter | | index 0 i 118 tfp 1973918824 fp 1973918824
willinglytranslate.blogspot.com
(20200924: )
We create the level_002 and compiled it and saw the error, which is a file copy error.
https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200924-001.zip
(20200925: )
Mode a, we think, that is an administrator.
Change our mind.
(From 20200927 to 20200928: )
Error:
https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200927-001.zip
https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200928-001.zip
https://github.com/WaitrudWeber/source_zip/blob/master/daily_20200928-001.zip
https://github.com/WaitrudWeber/source_zip/blob/master/daily_20200929-001.zip
https://github.com/WaitrudWeber/source_zip/blob/master/daily_20200930-001.zip
willinglytranslate.blogspot.com
(20200929: keyword )
String Error: but does work: which is memorization error:
https://github.com/WaitrudWeber/source_zip/blob/master/daily_20201003-001.zip
https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200929-001.zip
(20200930: )
Error:
memorization:
memory-allocation:
https://github.com/WaitrudWeber/source_zip/blob/master/cg_20200930-001.zip