转义序列\r\n将光标移动到行的开头

转义序列\r将光标移动到行的开头。

#include <stdio.h>

int main()
{
    printf(This escape sequence moves the cursor ); 

    printf(to the beginning of this line\r); 


    return 0;
}

相关文章

for遍历数组
。。。
声明一个计数循环
咕咕咕
#include <stdio.h> int main (void) { printf (&quo...