formulahendry / formulahendry/vscode-code-runner

Carriage return not working properly in c++

Open
#879 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.