formulahendry / formulahendry/vscode-code-runner
Carriage return not working properly in c++
Open
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 351
- PR merge metrics
- No merged PRs in 30d
Description
The carriage return chrachter is acting as the \n charachter in c++. It creates a new line and then outs the rest of the data.
`#include
using namespace std;
int main(){
cout<<"Hello dear friends\rM";
}
`
output:
Hello dear friends
M
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.