Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ formatting could be improved in C++ (gcc 4.8, C++11) #15

Open
pearcej opened this issue Jun 25, 2021 · 1 comment
Open

C++ formatting could be improved in C++ (gcc 4.8, C++11) #15

pearcej opened this issue Jun 25, 2021 · 1 comment

Comments

@pearcej
Copy link

pearcej commented Jun 25, 2021

The C++ program shows as:

#include <iostream>
using namespace std;
int main() {
    cout << "Hello World!" << endl;   cout << "Welcome to C++ Programming" << endl;
}

which of course works, but this would be more readable:

#include <iostream>
using namespace std;
int main() {
    cout << "Hello World!" << endl;   
    cout << "Welcome to C++ Programming" << endl;
}

This is especially true in Codelens where you can't even see the second line without using the scroll bar
See:
image

@schweinsbergs
Copy link

@sreynit02 and I are working on this one for T03.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants