char memories doe'nt print by use of memory calculatior like *(msg + i ) in sub lootin.
123 : 124 :void print_memories ( char *msg ) { 125 : int count = array_count(msg); 126 : 127 : printf("msg:|%s|\r\n", msg); // the left works well. 128 : for( int i=0; i<count; i++ ) { 129 : // x printf("|%s|%s||\r\n", msg[i], msg ); // the left doesn't work. 130 : printf("|%s|%s||\r\n", *(msg +i ), msg ); // the left doesn't work. 131 : } 132 :} 133 : 134 :// 135 :// 136 :// 137 :// 138 :// 139 :void slide_to_back ( char *msg, int start_i, int count ) { 140 : char *result_001; 141 : char *input; 142 : char c; 143 : 144 : result_001 = err_msg_001 ( "slide_to_back: start "); 145 : 146 : printf("msg:|%s|\r\n", msg); // the left works well. 147 : print_memories( msg ); 148 : exit(-1); 149 : 150 : for( int i = start_i; i