64,654
社区成员
发帖
与我相关
我的任务
分享
#include <iostream>
using namespace std;
int main()
{
int a=90;
cout<<"Hello world you"<<"\r"<<a<<flush; // \r-->carriage return
//cout<<"Hello world"<<"\b"<<"happy"<<endl; //\b -->backspace
return 0;
}
#include <iostream>
using namespace std;
int main()
{
//int a=90;
//cout<<"Hello world you"<<"\r"<<a<<flush; // \r-->carriage return
cout<<"Hello world"<<"\b"<<"happy"<<endl; //\b -->backspace
return 0;
}