Waitrud Weber’s blog

things and reminders for memories

Analyzation: windows-make: We re-create the function as C-analyzer.

We re-create the function as C-analyzer.

.\main.cpp  Sat Jan 30 11:52:58 2021

 62 ://
 63 ://
 64 ://
 65 ://
 66 ://
 67 :int found_enter_005 (char* filename ) {
 68 :	FILE *fp;
 69 :	char b_dummy[256];
 70 :	int i, j ;
 71 :	int file_end;
 72 :	STRUCT_FILE structure_fp;
 73 :	char c;
 74 :	char* p_dummy = NULL;
 75 :	char* p_dummy_token = NULL;
 76 :	int canread;
 77 :	char* block_string;
 78 :	int b_index = 0;
 79 :	char w_filename[255];
 80 :	int cury_count = 0;
 81 :	int c_skip = 0;
 82 :
 83 :	printf("found_enter_005: starts.\r\n");
 84 :
 85 :	fp = fopen(filename, "rb");
 86 :	structure_fp.file_start = fp;
 87 :	structure_fp.fp = fp;
 88 :
 89 :	file_end = filesize(fp);
 90 :	structure_fp.file_end_index = file_end;
 91 :
 92 :	canread = 0;
 93 :
 94 :	// Lootn check if we set 100 to the text file.
 95 :	for ( i =0; i
void print_memories ();
char** put_memories ( char* str );

void slide_to_back ( char *msg, int i, int count ) ;
void place_char ( char *p_char, char c ) ;


void clean_null_array() {

        replace_dummy_ary = ( char**) malloc ( sizeof( char* ) * dummy_ary_index );

        int index = 0;
        for( int i=0; i< dummy_ary_index; i++) {
                if ( dummy_ary[i] == nullptr ) {
                        replace_dummy_ary[ index ] = dummy_ary[i];
                        index++;
                }
        }

        free( dummy_ary );

        dummy_ary = replace_dummy_ary;
}
write_block ends.
write_block: block-0001-001-01.txt

:

https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20210130.zip