Waitrud Weber’s blog

things and reminders for memories

CodeAnalyzer: Replace: check if it works well or not.

It works well but we care about near the word "ace".

*

> .\winmain_001.exe
char* copyof ( char* str ) starts.
array_count 85
a_sleep_thread starts.
a_sleep_thread ends.
dummy_allocation_001 point|00791140|
char** put_memories ( char* str ) starts. index 0: index_max 0
char** put_memories ( char* str ) ends.
char* copyof ( char* str ) ends.
char* m_replace ( char* char_string_m, char* from_string, char* to_string ) starts.
char* char_string_010 ( int num_memories ) starts. dummy_allocation_001=00791140
character i 0/10 num_memories 12 about|00791140|
dummy_allocation_001=|00791140| |            ace ゥ雰n>| array count=22
char* char_string_010 ( int num_memories ) ends.
char_string_2 was allocated p|00791140| size|12|.
 it can not allocate memories enough, so, it is sleeping in one second,
loop starts:
i|0| c1|97|=|a| a_c=0 a_f=2 c2|98||b|
loop ends:
loop starts:
i|1| c1|97|=|a| a_c=0 a_f=2 c2|98||b|
loop ends:
loop starts:
i|2| c1|97|=|a| a_c=0 a_f=2 c2|98||b|
loop ends:
loop starts:
i|3| c1|98|=|b| a_c=2 a_f=2 c2|98||b|
replace string k=|0|d|
replace string k=|1|d|
replace string k=|2|d|
replace string k=|3|d|
loop ends:
loop starts:
i|5| c1|99|=|c| a_c=0 a_f=2 c2|98||b|
loop ends:
loop starts:
i|6| c1|99|=|c| a_c=0 a_f=2 c2|98||b|
loop ends:
loop starts:
i|7| c1|99|=|c| a_c=0 a_f=2 c2|98||b|
loop ends:
loop starts:
i|8| c1|99|=|c| a_c=0 a_f=2 c2|98||b|
loop ends:
char_string_m |aaabbcccc| ends.
m_replaced |00791140||aaaddddcccc| ends.
string:aaaddddcccc bstring:aaabbcccc from:bb to:dddd